Skip to content

Commit bbe0f92

Browse files
committed
Create dist folder for debug and use macos-14 building because macos-15 builder produces binary which doesn't run on macos 12
1 parent 11729de commit bbe0f92

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build-syncthing-macos.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
build-debug:
1818
name: Build debug
1919
if: github.event_name == 'push' && github.ref != 'refs/heads/release' # Debug not necessary on release branch (develop is intermediate branch)
20-
runs-on: macos-15
20+
runs-on: macos-14
2121
steps:
2222
- uses: actions/checkout@v4
2323
with:
@@ -26,18 +26,20 @@ jobs:
2626
- name: Build debug target
2727
run: |
2828
make debug
29+
mkdir Build/dist
30+
cp -r Build/Products/Debug/Syncthing.app dist
2931
3032
- name: Archive artifacts
3133
uses: actions/upload-artifact@v4
3234
with:
3335
name: syncthing-macos-debug
34-
path: Build/Products/Debug
36+
path: Build/dist
3537

3638
build-release:
3739
name: Build release
3840
if: github.event_name == 'push' && github.ref == 'refs/heads/release'
3941
environment: signing
40-
runs-on: macos-15
42+
runs-on: macos-14
4143
steps:
4244
- uses: actions/checkout@v4
4345
with:

0 commit comments

Comments
 (0)