Skip to content

Commit

Permalink
matrix strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
amitz committed Mar 17, 2024
1 parent 1bff9b3 commit 7eccc0a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
binary: [lavad, lavap, lavavisor]
steps:
- name: Install Go
uses: actions/setup-go@v5
Expand All @@ -27,12 +30,12 @@ jobs:
with:
version: latest
args: build --single-target --snapshot --clean
workdir: cmd/lavad
workdir: cmd/${{ matrix.binary }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: lavad
path: cmd/lavad/dist/*
name: ${{ matrix.binary }}
path: cmd/${{ matrix.binary }}/dist/*

0 comments on commit 7eccc0a

Please sign in to comment.