Update build-linux.yml: append_body = true

This commit is contained in:
Evan Su 2025-01-24 20:04:30 -05:00 committed by GitHub
parent 58c8cbb711
commit 5c9e6e82ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,10 +5,11 @@ permissions:
on: on:
push: push:
paths: paths:
- "VERSION" - "VERSION"
branches: branches:
- main - main
workflow_dispatch:
jobs: jobs:
build: build:
@ -38,7 +39,7 @@ jobs:
go build -v -ldflags="-s -w" -o Picocrypt Picocrypt.go go build -v -ldflags="-s -w" -o Picocrypt Picocrypt.go
env: env:
CGO_ENABLED: 1 CGO_ENABLED: 1
GOAMD64: v2 GOAMD64: v1
- name: Package as .deb - name: Package as .deb
run: | run: |
@ -85,7 +86,7 @@ jobs:
Picocrypt.deb Picocrypt.deb
tag_name: ${{ env.VERSION }} tag_name: ${{ env.VERSION }}
make_latest: true make_latest: true
append_body: true
body: | body: |
**SHA256:** `sha256(Picocrypt) ${{ env.CHECKSUM_PICOCRYPT }}`
**Picocrypt ${{ env.CHECKSUM_PICOCRYPT }} `sha256(Picocrypt.deb) ${{ env.CHECKSUM_DEB }}`
**Picocrypt.deb ${{ env.CHECKSUM_DEB }}