Skip to content

Commit a6d2773

Browse files
authored
Update release-alpine.yml
1 parent 91ebfe6 commit a6d2773

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/release-alpine.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77

88
env:
99
REGISTRY: ghcr.io
10-
10+
CROSS_SYSROOT: /mnt/alpine
11+
1112
jobs:
1213

1314
build:
@@ -40,7 +41,14 @@ jobs:
4041
shell: alpine.sh {0}
4142

4243
- name: Build
43-
run: CGO_ENABLED=1 GOOS=linux go build -a --ldflags '-linkmode external -extldflags "-static -s -w"' -o ${{ steps.alpine-root.outputs.root-path }}/heplify .
44+
run: CGO_ENABLED=1 GOOS=linux go build -a --ldflags '-linkmode external -extldflags "-static -s -w"' -o heplify .
45+
shell: alpine.sh {0}
46+
47+
- name: Try to run the binary
48+
run: ./heplify -h
4449
shell: alpine.sh {0}
4550

46-
- run: ls -alF ${{ steps.alpine-root.outputs.root-path }}/heplify
51+
- run: |
52+
pwd
53+
ls -alF
54+
ls -alF ${{ steps.alpine-root.outputs.root-path }}/heplify

0 commit comments

Comments
 (0)