Skip to content

Commit

Permalink
Save built executables and upload.
Browse files Browse the repository at this point in the history
Also build ipxbox_uplink too.
  • Loading branch information
fragglet committed Jul 18, 2023
1 parent 4ca04f4 commit d9caf1f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,18 @@ jobs:
go-version: '1.20'

- name: Build
run: go build -tags nopcap -v ipxbox.go
run: |
mkdir artifacts
cd artifacts
go build -tags nopcap -v ../ipxbox.go
go build -tags nopcap -v ../standalone/ipxbox_uplink.go
env:
GOARCH: ${{ matrix.goarch }}
GOOS: ${{ matrix.goos }}

- name: Upload build
uses: actions/upload-artifact@v1
with:
path: "artifacts"
name: ipxbox_${{ matrix.goos }}_${{ matrix.goarch }}

0 comments on commit d9caf1f

Please sign in to comment.