File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -20,22 +20,13 @@ jobs:
20
20
go-version : 1.16
21
21
22
22
- name : Build my CLI for Linux
23
- run : |
24
- cd cli
25
- go mod download
26
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o tracetest-linux
23
+ run : go mod download && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o tracetest-linux cli/main.go
27
24
28
25
- name : Build my CLI for macOS
29
- run : |
30
- cd cli
31
- go mod download
32
- GOOS=darwin GOARCH=amd64 go build -o tracetest-macos
33
-
26
+ run : go mod download && GOOS=darwin GOARCH=amd64 go build -o tracetest-macos cli/main.go
27
+
34
28
- name : Build my CLI for Windows
35
- run : |
36
- cd cli
37
- go mod download
38
- GOOS=windows GOARCH=amd64 go build -o tracetest-windows.exe
29
+ run : go mod download && GOOS=windows GOARCH=amd64 go build -o tracetest-windows.exe cli/main.go
39
30
40
31
- name : Get release name from tag
41
32
id : release
You can’t perform that action at this time.
0 commit comments