File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 66 - main
77
88jobs :
9- run-tests :
9+ build :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
2727 - name : Go Mod Download
2828 run : go mod download
2929
30- - name : Go Build
31- run : go build -o k8s-parallel-exec
30+ - name : Go Build amd64
31+ run : CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o k8s-parallel-exec-amd64
32+
33+ - name : Go Build arm64
34+ run : CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o k8s-parallel-exec-arm64
Original file line number Diff line number Diff line change 66 - published
77
88jobs :
9- build :
9+ release :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v3
@@ -26,12 +26,15 @@ jobs:
2626 - name : Go Mod Download
2727 run : go mod download
2828
29- - name : Go Build
30- run : go build -o k8s-parallel-exec
29+ - name : Go Build amd64
30+ run : CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o k8s-parallel-exec-amd64
31+
32+ - name : Go Build arm64
33+ run : CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o k8s-parallel-exec-arm64
3134
3235 - name : Publish k8s-parallel-exec to assets
33363437 env :
3538 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3639 with :
37- args : ' ./k8s-parallel-exec'
40+ args : ' ./k8s-parallel-exec-* '
You can’t perform that action at this time.
0 commit comments