File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ jobs:
44
44
shell : alpine.sh {0}
45
45
46
46
- name : Build ${{ matrix.arch }}
47
- run : CGO_ENABLED=1 GOOS=linux go build -a --ldflags '-linkmode external -extldflags "-static -s -w"' -o heplify- ${{ matrix.arch }} .
47
+ run : CGO_ENABLED=1 GOOS=linux go build -a --ldflags '-linkmode external -extldflags "-static -s -w"' -o heplify${{ matrix.arch == 'aarch64' && '-arm64' || '' }} .
48
48
shell : alpine.sh {0}
49
49
50
50
- name : Try to run the binary ${{ matrix.arch }}
51
- run : ./heplify- ${{ matrix.arch }} -h
51
+ run : ./heplify${{ matrix.arch == 'aarch64' && '-arm64' || '' }} -h
52
52
shell : alpine.sh {0}
53
53
54
54
- name : Upload ${{ matrix.arch }}
57
57
env :
58
58
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59
59
with :
60
- args : ' heplify- ${{ matrix.arch }} '
60
+ args : heplify${{ matrix.arch == 'aarch64' && '-arm64' || '' }}
61
61
62
62
docker-push :
63
63
if : ${{ github.event_name != 'workflow_dispatch' }}
You can’t perform that action at this time.
0 commit comments