File tree 2 files changed +13
-7
lines changed
2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
8
8
jobs :
9
- run-tests :
9
+ build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
27
27
- name : Go Mod Download
28
28
run : go mod download
29
29
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 6
6
- published
7
7
8
8
jobs :
9
- build :
9
+ release :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v3
@@ -26,12 +26,15 @@ jobs:
26
26
- name : Go Mod Download
27
27
run : go mod download
28
28
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
31
34
32
35
- name : Publish k8s-parallel-exec to assets
33
36
34
37
env :
35
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
39
with :
37
- args : ' ./k8s-parallel-exec'
40
+ args : ' ./k8s-parallel-exec-* '
You can’t perform that action at this time.
0 commit comments