Skip to content

Commit

Permalink
Fixup build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zedifen authored Nov 5, 2024
1 parent 766fddd commit cf788da
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,14 @@ jobs:
target_arch: [amd64, arm64]
runs-on: ubuntu-22.04
env:
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
with:
go-version: ^1.21.9
- run: go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
- run: ~/go/bin/xcaddy build master --with github.com/caddyserver/forwardproxy@master=$PWD
- run: GOOS=${{ matrix.target_os }} GOARCH=${{ matrix.target_arch }} ~/go/bin/xcaddy build master --with github.com/caddyserver/forwardproxy@master=$PWD
- name: Pack naiveproxy assets
run: |
mkdir ${{ env.BUNDLE }}
Expand Down

0 comments on commit cf788da

Please sign in to comment.