Skip to content

Commit 47888c5

Browse files
chore: build macOS version
Add macOS support.
1 parent 114da01 commit 47888c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -o file_zip_freebsd_x64
4141
CGO_ENABLED=0 GOOS=freebsd GOARCH=arm go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -o file_zip_freebsd_arm
4242
CGO_ENABLED=0 GOOS=freebsd GOARCH=arm64 go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -o file_zip_freebsd_arm64
43+
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -o file_zip_darwin_amd64
44+
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -o file_zip_darwin_arm64
4345
4446
- uses: "marvinpinto/action-automatic-releases@latest"
4547
with:
@@ -70,3 +72,5 @@ jobs:
7072
file_zip_freebsd_x64
7173
file_zip_freebsd_arm
7274
file_zip_freebsd_arm64
75+
file_zip_darwin_amd64
76+
file_zip_darwin_arm64

0 commit comments

Comments
 (0)