Skip to content

Commit

Permalink
fix: upload binary files to release using alternative method
Browse files Browse the repository at this point in the history
  • Loading branch information
notatestuser committed Nov 11, 2024
1 parent 02b112f commit 57fec15
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build_and_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,20 @@ jobs:
- name: Release
id: release
uses: dev-build-deploy/release-me@v0.15.2
uses: dev-build-deploy/release-me@v0.17.0
with:
token: ${{ github.token }}
prefix: v
versioning: semver
files: |
./bin/recovery-tool-linux
./bin/recovery-tool-mac
./bin/recovery-tool.exe

- name: Upload binary files to release
if: ${{ steps.release.outputs.created }}
run: |
gh release upload ${{ fromJSON(steps.release.outputs.release).tag_name }} ./bin/recovery-tool-linux
gh release upload ${{ fromJSON(steps.release.outputs.release).tag_name }} ./bin/recovery-tool-mac
gh release upload ${{ fromJSON(steps.release.outputs.release).tag_name }} ./bin/recovery-tool.exe
env:
GITHUB_TOKEN: ${{ github.TOKEN }}

- name: Update GitHub Release with sha256sum
if: ${{ steps.release.outputs.created }}
Expand Down

0 comments on commit 57fec15

Please sign in to comment.