Skip to content

Commit

Permalink
Refactored release job.
Browse files Browse the repository at this point in the history
  • Loading branch information
ch-braun committed Nov 7, 2024
1 parent 3552a3a commit 1933a79
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,23 @@ jobs:
runs-on: ubuntu-latest
needs: build

permissions:
contents: write

strategy:
matrix:
goos: [ linux ]
goarch: [ amd64, arm64 ]

steps:
- name: Download artifact (AMD64)
- name: Download artifact ${{ matrix.goos }}-${{ matrix.goarch }}
uses: actions/download-artifact@v4
with:
name: go-jwt-kc-linux-amd64
name: go-jwt-kc-${{ matrix.goos }}-${{ matrix.goarch }}
path: dist/

- name: Download artifact (ARM64)
uses: actions/download-artifact@v4
with:
name: go-jwt-kc-linux-arm64

- name: Upload binaries
uses: softprops/action-gh-release@v2
with:
files: |
dist/go-jwt-kc-linux-amd64
dist/go-jwt-kc-linux-arm64
dist/go-jwt-kc-${{ matrix.goos }}-${{ matrix.goarch }}

0 comments on commit 1933a79

Please sign in to comment.