File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,20 +13,18 @@ jobs:
1313 - name : Check out code into the Go module directory
1414 uses : actions/checkout@v3
1515
16- - name : Set up Go 1.18
16+ - name : Set up and Build
1717 uses : actions/setup-go@v3
1818 with :
1919 go-version : 1.18
2020 id : go
21- - run : go mod tidy && go mod vendor
22-
23- - name : Build
2421 - run : |
25- env GOOS=linux GOARCH=arm64 go build -o dist/Threadfin_linux_arm64
26- env GOOS=linux GOARCH=amd64 go build -o dist/Threadfin_linux_amd64
27- env GOOS=darwin GOARCH=arm64 go build -o dist/Threadfin_darwin_arm64
28- env GOOS=darwin GOARCH=amd64 go build -o dist/Threadfin_darwin_amd64
29- env GOOS=windows GOARCH=amd64 go build -o dist/Threadfin.exe
22+ go mod tidy && go mod vendor
23+ env GOOS=linux GOARCH=arm64 go build -o dist/Threadfin_linux_arm64
24+ env GOOS=linux GOARCH=amd64 go build -o dist/Threadfin_linux_amd64
25+ env GOOS=darwin GOARCH=arm64 go build -o dist/Threadfin_darwin_arm64
26+ env GOOS=darwin GOARCH=amd64 go build -o dist/Threadfin_darwin_amd64
27+ env GOOS=windows GOARCH=amd64 go build -o dist/Threadfin.exe
3028
3129 # - name: Build
3230 # uses: thatisuday/go-cross-build@master
You can’t perform that action at this time.
0 commit comments