From 7cfdf79c5149d913904ef1a28b2919da8d9bc41b Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 18 Jan 2025 10:10:50 +0000 Subject: [PATCH] build: release built binaries as GitHub artifacts These are available on the summary page of the goreleaser action as a single builds.zip file with all the builds in. --- .github/workflows/goreleaser.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 9f18cd3..8d6ca4a 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -29,3 +29,11 @@ jobs: args: release --clean ${{ env.GORELEASER_FLAGS }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload all builds + uses: actions/upload-artifact@v4 + with: + name: builds + path: | + dist/*.zip + dist/*.txt + dist/*.json