Try to add SHA256 checksum for windows exe into release body
This commit is contained in:
parent
a1da2f89dd
commit
e6a2bfd412
3
.github/workflows/winebuild.yml
vendored
3
.github/workflows/winebuild.yml
vendored
|
@ -24,6 +24,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
xvfb-run i386 buildscripts/winbuild.sh
|
xvfb-run i386 buildscripts/winbuild.sh
|
||||||
echo "::set-output name=asset_path::packages/pyinstaller/dist/*.exe"
|
echo "::set-output name=asset_path::packages/pyinstaller/dist/*.exe"
|
||||||
|
sha256sum ${{ steps.build.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
|
||||||
|
@ -31,6 +32,8 @@ jobs:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
tag_name: continuous
|
tag_name: continuous
|
||||||
target_commitish: ${{ github.sha }}
|
target_commitish: ${{ github.sha }}
|
||||||
|
body_path: checksum.txt
|
||||||
|
append_body: true
|
||||||
files: ${{ steps.build.outputs.asset_path }}
|
files: ${{ steps.build.outputs.asset_path }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Reference in New Issue
Block a user