workflows: build and upload test distribution
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
52f21a19f3
commit
e2edeb7cdb
@ -44,13 +44,12 @@ jobs:
|
|||||||
run: >-
|
run: >-
|
||||||
go test ./...
|
go test ./...
|
||||||
|
|
||||||
- name: Build for Linux
|
- name: Build for test
|
||||||
run: >-
|
run: FORTIFY_VERSION='${{ github.ref_name }}' ./dist/release.sh
|
||||||
go build -v -ldflags '-s -w
|
|
||||||
-X git.ophivana.moe/security/fortify/internal.Version=${{ github.ref_name }}
|
- name: Upload test build
|
||||||
-X git.ophivana.moe/security/fortify/internal.Fsu=/usr/bin/fsu
|
uses: https://gitea.com/actions/upload-artifact@v4
|
||||||
-X git.ophivana.moe/security/fortify/internal.Finit=/usr/libexec/fortify/finit
|
with:
|
||||||
-X main.Fmain=/usr/bin/fortify
|
name: "dist/fortify-${{ github.ref_name }}.tar.gz"
|
||||||
-X main.Fshim=/usr/libexec/fortify/fshim'
|
path: "dist/fortify-${{ github.ref_name }}.tar.gz"
|
||||||
-o bin/ ./... &&
|
retention-days: 1
|
||||||
(cd bin && sha512sum --tag -b * > sha512sums)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user