mirror of
https://github.com/R2Northstar/Northstar
synced 2026-08-23 20:23:04 -04:00
Calculate checksum twice (#591)
build: Calculate checksum twice Instead of storing result in env var.
This commit is contained in:
parent
abf59ba5fe
commit
cfc1498753
1 changed files with 2 additions and 3 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -95,10 +95,9 @@ jobs:
|
||||||
mv Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip ../
|
mv Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip ../
|
||||||
- name: Compute SHA-512 checksum
|
- name: Compute SHA-512 checksum
|
||||||
run: |
|
run: |
|
||||||
ZIP_CHECKSUM=$(sha512sum Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip)
|
sha512sum Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip
|
||||||
echo $ZIP_CHECKSUM
|
|
||||||
echo "```" >> $GITHUB_STEP_SUMMARY
|
echo "```" >> $GITHUB_STEP_SUMMARY
|
||||||
echo $ZIP_CHECKSUM >> $GITHUB_STEP_SUMMARY
|
sha512sum Northstar.release.${{ env.NORTHSTAR_VERSION }}.zip >> $GITHUB_STEP_SUMMARY
|
||||||
echo "```" >> $GITHUB_STEP_SUMMARY
|
echo "```" >> $GITHUB_STEP_SUMMARY
|
||||||
- name: Upload zip to release draft
|
- name: Upload zip to release draft
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue