From a1da2f89ddf576269a389e9691f651d709f80bf3 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Tue, 25 Jan 2022 17:53:33 +0200 Subject: [PATCH] Generate SHA256 checksums for deb and AppImage and embed them into release body. --- .github/workflows/appimage.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index c88c385e..cf749011 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -42,6 +42,10 @@ jobs: run: | buildscripts/appimage.sh echo "::set-output name=asset_path::out/*.AppImage*" + - name: Checksums + run: | + sha256sum ${{ steps.deb.outputs.asset_path }} >> checksum.txt + sha256sum ${{ steps.appimage.outputs.asset_path }} >> checksum.txt - name: Release Continuous if: ${{ github.ref == 'refs/heads/ci' }} uses: softprops/action-gh-release@master @@ -49,6 +53,7 @@ jobs: prerelease: true tag_name: continuous target_commitish: ${{ github.sha }} + body_path: checksum.txt files: | ${{ steps.deb.outputs.asset_path }} ${{ steps.appimage.outputs.asset_path }}