You've already forked armbian-router
mirror of
https://github.com/armbian/armbian-router.git
synced 2026-01-06 10:37:03 -08:00
Add building to actions
This commit is contained in:
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@@ -55,7 +55,20 @@ jobs:
|
||||
|
||||
# Run build of the application
|
||||
- name: Run build
|
||||
run: go build .
|
||||
run: |
|
||||
mkdir -p /build
|
||||
go install github.com/tystuyfzand/goc@latest
|
||||
goc -o /build/dlrouter
|
||||
env:
|
||||
GOOS: linux,windows,darwin,openbsd,freebsd
|
||||
GOARCH: 386,amd64,arm,arm64
|
||||
|
||||
# Upload artifacts
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: binaries
|
||||
path: /build
|
||||
|
||||
# The "deploy" workflow
|
||||
deploy:
|
||||
|
||||
Reference in New Issue
Block a user