Skip to content

Commit

Permalink
ci: update release
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Feb 4, 2024
1 parent 2086f57 commit 4f17e15
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,17 @@ jobs:
zip -r ../${{ github.event.repository.name }}-windows-x64.zip *
cd ..
- name: Calculate SHA256
id: calculate-sha256
run: |
echo release=$(sha256sum ${{ github.event.repository.name }}-windows-x64.zip | awk '{print $1}') >> $GITHUB_OUTPUT
- uses: softprops/action-gh-release@v1
with:
append_body: true
body: |
| File | SHA256 |
| ---- | ------ |
| ${{ github.event.repository.name }}-windows-x64.zip | ${{ steps.calculate-sha256.outputs.release }} |
files: |
${{ github.event.repository.name }}-windows-x64.zip

0 comments on commit 4f17e15

Please sign in to comment.