fix(ci): pass GOOS/GOARCH args to task

This commit is contained in:
Denis Gukov 2022-10-27 00:32:30 +05:00
parent dea5a0fb8a
commit eb7a8b8a64
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,9 @@ tasks:
- task: compile
- task: test
- task: build:local
vars:
GOOS: ''
GOARCH: ''
deps:
desc: Install all dependencies (except dredd requirements)

View File

@ -4,3 +4,7 @@ tasks:
cmds:
- packr
- go run util/version_gen/generator.go 1
build:local:
dir: cli
cmds:
- go build -o ../bin/semaphore{{ if eq OS "windows" }}.exe{{ end }}