Skip to content

Commit

Permalink
feat: add a sha512sums.txt to release artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolitzer committed Oct 2, 2023
1 parent e62522c commit e4682e6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,21 @@ 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_TAR_GZ }} > sha512sums.txt

- name: Upload [checksums.txt]
uses: actions/upload-artifact@v3
with:
name: sha512sums.txt
path: sha512sums.txt

- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
prerelease: true
files: |
sha512sums.txt
${{ env.MACHINE_EMULATOR_TOOLS_TAR_GZ }}
${{ env.MACHINE_EMULATOR_TOOLS_DEB }}
Expand Down

0 comments on commit e4682e6

Please sign in to comment.