Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
The current release workflow was using golang 1.16 and failing to
download and vendor the dependencies, but since the build is not being
used during the brew builds, as we generate new ones, the easiest option
was to remove that dated workflow and let only the distribution-tarball
generate the needed files.

Signed-off-by: Rodolfo Olivieri <[email protected]>
  • Loading branch information
r0x0d committed Oct 16, 2023
1 parent c0cf4c1 commit 4023d80
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,13 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Generate build files
uses: thatisuday/[email protected]
- uses: actions/setup-go@v4
with:
platforms: 'linux/amd64'
package: 'src'
name: 'rhc-worker-script-${{ steps.tagName.outputs.tag }}'
compress: 'true'
dest: 'dist'
go-version: '1.19'

- name: Generate distribution tarball
run: |
make distribution-tarball
mkdir dist && make distribution-tarball
sudo mv *.tar.gz dist/
env:
VERSION: '${{ steps.tagName.outputs.tag }}'
Expand Down

0 comments on commit 4023d80

Please sign in to comment.