diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5cb0cbab..7092c742 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }}