From b9423966e950633bc9c8c0e2a7f3df8b1b94b382 Mon Sep 17 00:00:00 2001 From: Marcelo Politzer <251334+mpolitzer@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:43:25 -0300 Subject: [PATCH] feat: add a sha512sums.txt of the artifacts to the release --- .github/workflows/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5cb0cbab..66d9ecb7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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