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: 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)

View File

@ -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 }}