mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-06-29 22:56:12 +02:00
build with sha256 in release body
This commit is contained in:
parent
bc4d029cf0
commit
a90754a67e
3 changed files with 31 additions and 8 deletions
16
.github/workflows/build-windows.yml
vendored
16
.github/workflows/build-windows.yml
vendored
|
@ -5,10 +5,10 @@ permissions:
|
|||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "VERSION"
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "VERSION"
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
@ -78,6 +78,12 @@ jobs:
|
|||
$version = Get-Content -Path "VERSION"
|
||||
echo "VERSION=$version" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Generate checksums
|
||||
shell: pwsh
|
||||
run: |
|
||||
$hash = Get-FileHash "src/Picocrypt.exe" -Algorithm SHA256
|
||||
echo "CHECKSUM_PICOCRYPT=$($hash.Hash)" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
@ -85,3 +91,5 @@ jobs:
|
|||
src/Picocrypt.exe
|
||||
tag_name: ${{ env.VERSION }}
|
||||
make_latest: true
|
||||
body: |
|
||||
**Picocrypt.exe sha256**: ${{ env.CHECKSUM_PICOCRYPT }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue