Calculate checksum twice (#591)

build: Calculate checksum twice
Instead of storing result in env var.
This commit is contained in:
GeckoEidechse 2023-11-19 22:32:32 +01:00 committed by GitHub
parent abf59ba5fe
commit cfc1498753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -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