Generate SHA256 checksums for deb and AppImage
and embed them into release body.
This commit is contained in:
parent
0d79b604b8
commit
a1da2f89dd
5
.github/workflows/appimage.yml
vendored
5
.github/workflows/appimage.yml
vendored
|
@ -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 }}
|
||||||
|
|
Reference in New Issue
Block a user