mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-06-28 22:26:13 +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
15
.github/workflows/build-macos.yml
vendored
15
.github/workflows/build-macos.yml
vendored
|
@ -5,10 +5,10 @@ permissions:
|
|||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "VERSION"
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "VERSION"
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -63,6 +63,11 @@ jobs:
|
|||
VERSION=$(cat VERSION)
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
- name: Generate checksums
|
||||
run: |
|
||||
HASH=$(shasum -a 256 Picocrypt.dmg | cut -d ' ' -f1)
|
||||
echo "CHECKSUM_PICOCRYPT=$HASH" >> $GITHUB_ENV
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
@ -70,3 +75,5 @@ jobs:
|
|||
Picocrypt.dmg
|
||||
tag_name: ${{ env.VERSION }}
|
||||
make_latest: true
|
||||
body: |
|
||||
**Picocrypt.dmg sha256**: ${{ env.CHECKSUM_PICOCRYPT }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue