Generate SHA256 checksums for deb and AppImage

and embed them into release body.
This commit is contained in:
Dmitri Bogomolov 2022-01-25 17:53:33 +02:00
parent 0d79b604b8
commit a1da2f89dd
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -42,6 +42,10 @@ jobs:
run: | run: |
buildscripts/appimage.sh buildscripts/appimage.sh
echo "::set-output name=asset_path::out/*.AppImage*" 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 - name: Release Continuous
if: ${{ github.ref == 'refs/heads/ci' }} if: ${{ github.ref == 'refs/heads/ci' }}
uses: softprops/action-gh-release@master uses: softprops/action-gh-release@master
@ -49,6 +53,7 @@ jobs:
prerelease: true prerelease: true
tag_name: continuous tag_name: continuous
target_commitish: ${{ github.sha }} target_commitish: ${{ github.sha }}
body_path: checksum.txt
files: | files: |
${{ steps.deb.outputs.asset_path }} ${{ steps.deb.outputs.asset_path }}
${{ steps.appimage.outputs.asset_path }} ${{ steps.appimage.outputs.asset_path }}