File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,33 @@ jobs:
3030 with :
3131 go-version-file : ' cli/go.mod'
3232
33- - name : Package MacOS executable
33+ - name : Package MacOS executable (x86_64)
3434 working-directory : ./cli
3535 run : |
3636 GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="${GO_LDFLAGS}" -o hfsubset
3737 tar -czvf hfsubset-macos_amd64.tar.gz hfsubset ../LICENSE.md ../README.md
3838 rm hfsubset
3939
40- - name : Package Linux executable
40+ - name : Package MacOS executable (ARM)
41+ working-directory : ./cli
42+ run : |
43+ GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -ldflags="${GO_LDFLAGS}" -o hfsubset
44+ tar -czvf hfsubset-macos_arm64.tar.gz hfsubset ../LICENSE.md ../README.md
45+ rm hfsubset
46+
47+ - name : Package Linux executable (x86_64)
4148 working-directory : ./cli
4249 run : |
4350 GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="${GO_LDFLAGS}" -o hfsubset
4451 tar -czvf hfsubset-linux_amd64.tar.gz hfsubset ../LICENSE.md ../README.md
4552 rm hfsubset
53+
54+ - name : Package Linux executable (ARM)
55+ working-directory : ./cli
56+ run : |
57+ GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags="${GO_LDFLAGS}" -o hfsubset
58+ tar -czvf hfsubset-linux_arm64.tar.gz hfsubset ../LICENSE.md ../README.md
59+ rm hfsubset
4660
4761 - name : Package Windows executable
4862 working-directory : ./cli
You can’t perform that action at this time.
0 commit comments