mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
fix(ci): pass GOOS/GOARCH args to task
This commit is contained in:
parent
dea5a0fb8a
commit
eb7a8b8a64
@ -19,6 +19,9 @@ tasks:
|
|||||||
- task: compile
|
- task: compile
|
||||||
- task: test
|
- task: test
|
||||||
- task: build:local
|
- task: build:local
|
||||||
|
vars:
|
||||||
|
GOOS: ''
|
||||||
|
GOARCH: ''
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
desc: Install all dependencies (except dredd requirements)
|
desc: Install all dependencies (except dredd requirements)
|
||||||
|
@ -4,3 +4,7 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- packr
|
- packr
|
||||||
- go run util/version_gen/generator.go 1
|
- go run util/version_gen/generator.go 1
|
||||||
|
build:local:
|
||||||
|
dir: cli
|
||||||
|
cmds:
|
||||||
|
- go build -o ../bin/semaphore{{ if eq OS "windows" }}.exe{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user