Skip to content

Commit

Permalink
Merge pull request #48 from thomasschafer/tschafer-fix-release-workflow
Browse files Browse the repository at this point in the history
Fix release workflow
  • Loading branch information
thomasschafer authored Nov 30, 2024
2 parents cde73d4 + 5b43e8f commit 1a08ccc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,14 @@ jobs:
esac
- name: Upload to release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ needs.prepare-release.outputs.version }}
files: |
target/${{ matrix.target }}/release/${{ env.ASSET }}
target/${{ matrix.target }}/release/${{ env.ASSET }}.sha256
target/${{ matrix.target }}/release/${{ env.ASSET }}.sha512
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
run: |
for file in target/${{ matrix.target }}/release/${{ env.ASSET }}*; do
gh release upload "v${{ needs.prepare-release.outputs.version }}" "$file" --clobber
done
publish:
needs: [prepare-release, build-and-upload]
Expand Down

0 comments on commit 1a08ccc

Please sign in to comment.