go build -o flag with ./cmd/... builds multiple binaries. The -o path must be a directory when building multiple packages, not a file.
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
||||
run: go test -v ./...
|
||||
|
||||
- name: Build
|
||||
run: go build -o /tmp/poimen-workflows ./cmd/...
|
||||
run: go build -o /tmp/poimen-bin/ ./cmd/...
|
||||
|
||||
- name: Vet
|
||||
run: go vet ./...
|
||||
|
||||
Reference in New Issue
Block a user