Skip to content

Commit

Permalink
feat: add a sha512sums.txt of the artifacts to the release
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolitzer committed Sep 28, 2023
1 parent e62522c commit b942396
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,20 @@ jobs:
name: ${{ env.MACHINE_EMULATOR_TOOLS_DEB }}
path: ${{ env.MACHINE_EMULATOR_TOOLS_DEB }}

- name: Checksum artifacts
run: |
sha512sum ${{ env.MACHINE_EMULATOR_TOOLS_DEB }} > ${{ env.MACHINE_EMULATOR_TOOLS_DEB }}.sha512
sha512sum ${{ env.MACHINE_EMULATOR_TOOLS_TAR_GZ }} > ${{ env.MACHINE_EMULATOR_TOOLS_TAR_GZ }}.sha512
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
prerelease: true
files: |
${{ env.MACHINE_EMULATOR_TOOLS_TAR_GZ }}
${{ env.MACHINE_EMULATOR_TOOLS_TAR_GZ }}.sha512
${{ env.MACHINE_EMULATOR_TOOLS_DEB }}
${{ env.MACHINE_EMULATOR_TOOLS_DEB }}.sha512
build:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit b942396

Please sign in to comment.