Skip to content

Commit

Permalink
Calculate checksum twice (#591)
Browse files Browse the repository at this point in the history
build: Calculate checksum twice
Instead of storing result in env var.
  • Loading branch information
GeckoEidechse authored Nov 19, 2023
1 parent abf59ba commit cfc1498
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,9 @@ jobs:
mv Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip ../
- name: Compute SHA-512 checksum
run: |
ZIP_CHECKSUM=$(sha512sum Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip)
echo $ZIP_CHECKSUM
sha512sum Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip
echo "```" >> $GITHUB_STEP_SUMMARY
echo $ZIP_CHECKSUM >> $GITHUB_STEP_SUMMARY
sha512sum Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip >> $GITHUB_STEP_SUMMARY
echo "```" >> $GITHUB_STEP_SUMMARY
- name: Upload zip to release draft
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit cfc1498

Please sign in to comment.