Skip to content

Commit

Permalink
Switch to build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
chand1012 committed May 2, 2023
1 parent a1f9504 commit 8923f0d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
jobs:
xgo:
runs-on: ubuntu-latest
strategy:
matrix:
os: [linux, darwin]
arch: [amd64, arm64]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -17,7 +21,7 @@ jobs:
go_version: "1.20"
dest: build
prefix: ggt
targets: linux/amd64,linux/arm64,darwin/amd64,darwin/arm64
targets: ${{ matrix.os }}/${{ matrix.arch }}
v: true
x: false
race: false
Expand All @@ -29,4 +33,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: build/
path: build/ggt-${{ matrix.os }}-${{ matrix.arch }}*

0 comments on commit 8923f0d

Please sign in to comment.