Skip to content

Commit 160a107

Browse files
committed
feat: add build for macos
1 parent 08f617d commit 160a107

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/release.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,22 @@ jobs:
4545
name: windows-build
4646
path: fyne-cross/bin/windows-amd64
4747

48-
# build-mac:
49-
# runs-on: macos-latest
50-
# steps:
51-
# - uses: actions/checkout@v4
52-
# - name: Set up Go
53-
# uses: actions/setup-go@v5
54-
# with:
55-
# go-version: 1.22
56-
# - name: Build Fyne application for macOS
57-
# # run: fyne package -os darwin -icon Icon.png
58-
# run: GOOS=darwin GOARCH=arm64 go build -o SoundscapeSync.app
59-
# - name: Upload macOS artifact
60-
# uses: actions/upload-artifact@v4
61-
# with:
62-
# name: macos-build
63-
# path: SoundscapeSync.app
48+
build-mac:
49+
runs-on: macos-latest
50+
steps:
51+
- uses: actions/checkout@v4
52+
- name: Set up Go
53+
uses: actions/setup-go@v5
54+
with:
55+
go-version: 1.22
56+
- name: Build Fyne application for macOS
57+
# run: fyne package -os darwin -icon Icon.png
58+
run: GOOS=darwin GOARCH=arm64 go build -o SoundscapeSync.app
59+
- name: Upload macOS artifact
60+
uses: actions/upload-artifact@v4
61+
with:
62+
name: macos-build
63+
path: SoundscapeSync.app
6464

6565
create-release:
6666
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)