Skip to content

Commit

Permalink
Add build matrix for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zedifen authored Nov 5, 2024
1 parent b46916c commit 766fddd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@ defaults:
shell: bash
jobs:
build_caddy_with_naive:
strategy:
matrix:
target_os: [linux]
target_arch: [amd64, arm64]
runs-on: ubuntu-22.04
env:
BUNDLE: caddy-forwardproxy-naive
GOOS: ${{ matrix.target_os }}
GOARCH: ${{ matrix.target_arch }}
# GOAMD64: v3
CADDY_VERSION: ${{ github.event.inputs.version }}
FORWARDPROXY: ${{ github.event.inputs.forwardproxy }}
BUNDLE: caddy-forwardproxy-naive-${{ matrix.target_os }}-${{ matrix.target_arch }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down

0 comments on commit 766fddd

Please sign in to comment.