This repository was archived by the owner on Jun 7, 2024. It is now read-only.
File tree 1 file changed +7
-18
lines changed
1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -15,39 +15,28 @@ jobs:
15
15
name :
16
16
Build AMD64
17
17
command : |
18
- env GOARCH=amd64
19
- env GOOS=windows
20
- go build -o ~/release/fgit-windows-amd64.exe fgit.go
21
- env GOOS=darwin
22
- go build -o ~/release/fgit-darwin-amd64 fgit.go
23
- env GOOS=linux
24
- go build -o ~/release/fgit-linux-amd64 fgit.go
18
+ GOARCH=amd64 GOOS=windows go build -o ~/release/fgit-windows-amd64.exe fgit.go
19
+ GOARCH=amd64 GOOS=darwin go build -o ~/release/fgit-darwin-amd64 fgit.go
20
+ GOARCH=amd64 GOOS=linux go build -o ~/release/fgit-linux-amd64 fgit.go
25
21
26
22
- run :
27
23
name :
28
24
Build 386
29
25
command : |
30
- env GOARCH=386
31
- env GOOS=windows
32
- go build -o ~/release/fgit-windows-386.exe fgit.go
33
- env GOOS=linux
34
- go build -o ~/release/fgit-linux-386 fgit.go
26
+ GOARCH=386 GOOS=windows go build -o ~/release/fgit-windows-386.exe fgit.go
27
+ GOARCH=386 GOOS=linux go build -o ~/release/fgit-linux-386 fgit.go
35
28
36
29
- run :
37
30
name :
38
31
Build ARM
39
32
command : |
40
- env GOARCH=arm
41
- env GOOS=linux
42
- go build -o ~/release/fgit-linux-arm fgit.go
33
+ GOARCH=arm GOOS=linux go build -o ~/release/fgit-linux-arm fgit.go
43
34
44
35
- run :
45
36
name :
46
37
Build ARM64
47
38
command : |
48
- env GOARCH=arm64
49
- env GOOS=linux
50
- go build -o ~/release/fgit-linux-arm64 fgit.go
39
+ GOARCH=arm64 GOOS=linux go build -o ~/release/fgit-linux-arm64 fgit.go
51
40
52
41
- store_artifacts :
53
42
path : ~/release
You can’t perform that action at this time.
0 commit comments