Skip to content

Commit fee57a6

Browse files
committed
changing workflow
1 parent ccb5c7b commit fee57a6

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

.github/workflows/beta.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)