Skip to content

Commit

Permalink
Fixed binary names in the publication action.
Browse files Browse the repository at this point in the history
Also bumped the latest tag to the HEAD of the commit.
  • Loading branch information
LTLA committed Apr 3, 2024
1 parent 951245b commit 77dfd50
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,24 @@ jobs:
- name: Check out
uses: actions/checkout@v4

- name: Shift tag
uses: actions/github-script@v7
with:
script: |
github.rest.git.updateRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'tags/latest',
sha: context.sha
});
- name: Build latest
uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.os }}
goarch: ${{ matrix.arch }}
release_tag: latest
asset_name: gobbler-${{ matrix.os }}-${{ matrix.arch }}
asset_name: SewerRat-${{ matrix.os }}-${{ matrix.arch }}
overwrite: true
compress_assets: false
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
goos: ${{ matrix.os }}
goarch: ${{ matrix.arch }}
release_tag: ${{ github.ref_name }}
asset_name: gobbler-${{ matrix.os }}-${{ matrix.arch }}
asset_name: SewerRat-${{ matrix.os }}-${{ matrix.arch }}
overwrite: true
compress_assets: false

0 comments on commit 77dfd50

Please sign in to comment.