Skip to content

Commit

Permalink
Upload build artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Rabot <[email protected]>
  • Loading branch information
sylr committed Jul 6, 2024
1 parent cb9562c commit 998765d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ jobs:
build:
name: Build
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
attestations: write
strategy:
matrix:
go: ["1.22"]
Expand Down Expand Up @@ -49,3 +53,20 @@ jobs:

- name: Crossbuild
run: make crossbuild

- uses: actions/attest-build-provenance@v1
with:
subject-path: |
dist/*
- uses: actions/upload-artifact@v4
with:
name: build
retention-days: 3
path: |
dist/*-darwin-amd64*
dist/*-darwin-arm64*
dist/*-linux-amd64*
dist/*-linux-arm64*
dist/*-windows-amd64*
dist/*-windows-arm64*

0 comments on commit 998765d

Please sign in to comment.