Skip to content

Commit 2f50d2a

Browse files
committed
github/workflows: Cleanup
1 parent 38ca58d commit 2f50d2a

File tree

3 files changed

+54
-54
lines changed

3 files changed

+54
-54
lines changed

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

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Build Syncthing macOS
1+
name: Build Syncthing macOS v2
22

33
on:
44
pull_request:
55
branches:
6-
- develop
6+
- v2
77
push:
88

99
# A note on actions and third party code... The actions under actions/ (like
@@ -14,32 +14,32 @@ on:
1414
# that lead up to code being packaged and signed.
1515

1616
jobs:
17-
build-debug:
18-
name: Build debug
19-
if: github.event_name == 'push' && github.ref != 'refs/heads/release' # Debug not necessary on release branch (develop is intermediate branch)
20-
runs-on: macos-13
21-
steps:
22-
- uses: actions/checkout@v4
23-
with:
24-
fetch-depth: 0
25-
26-
- name: Build debug target
27-
run: make debug
28-
29-
- name: Prepare debug build for artifact
30-
run: make debug-dist
31-
32-
- name: Archive artifacts
33-
uses: actions/upload-artifact@v4
34-
with:
35-
name: syncthing-macos-debug
36-
path: Build/Products/Debug/dist
17+
# build-debug:
18+
# name: Build debug
19+
# if: github.event_name == 'push' && github.ref != 'refs/heads/release' # Debug not necessary on release branch (develop is intermediate branch)
20+
# runs-on: macos-13
21+
# steps:
22+
# - uses: actions/checkout@v4
23+
# with:
24+
# fetch-depth: 0
25+
#
26+
# - name: Build debug target
27+
# run: make debug
28+
#
29+
# - name: Prepare debug build for artifact
30+
# run: make debug-dist
31+
#
32+
# - name: Archive artifacts
33+
# uses: actions/upload-artifact@v4
34+
# with:
35+
# name: syncthing-macos-debug
36+
# path: Build/Products/Debug/dist
3737

3838
build-release:
3939
name: Build release
40-
if: github.event_name == 'push' && github.ref == 'refs/heads/release'
40+
if: github.event_name == 'push' && github.ref == 'refs/heads/v2'
4141
environment: signing
42-
runs-on: macos-13
42+
runs-on: macos-15
4343
steps:
4444
- uses: actions/checkout@v4
4545
with:
@@ -78,12 +78,12 @@ jobs:
7878
- name: Archive artifacts
7979
uses: actions/upload-artifact@v4
8080
with:
81-
name: syncthing-macos-dmg-release
81+
name: syncthing-macos-v2-dmg-release
8282
path: Build/Products/Release/*.dmg
8383

8484
notarize:
8585
name: Notarize for macOS
86-
if: github.event_name == 'push' && github.ref == 'refs/heads/release'
86+
if: github.event_name == 'push' && github.ref == 'refs/heads/v2'
8787
environment: signing
8888
needs:
8989
- build-release
@@ -92,7 +92,7 @@ jobs:
9292
- name: Download artifacts
9393
uses: actions/download-artifact@v4
9494
with:
95-
name: syncthing-macos-dmg-release
95+
name: syncthing-macos-v2-dmg-release
9696

9797
- name: Notarize binaries
9898
run: |

.github/workflows/build-syncthing-macos-release-dmg-unnotarized-on-demand.yml renamed to .github/workflows/disabled/build-syncthing-macos-release-dmg-unnotarized-on-demand.yml

File renamed without changes.

.github/workflows/build-syncthing-macos-v2.yml renamed to .github/workflows/disabled/build-syncthing-macos.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Build Syncthing macOS v2
1+
name: Build Syncthing macOS
22

33
on:
44
pull_request:
55
branches:
6-
- v2
6+
- develop
77
push:
88

99
# A note on actions and third party code... The actions under actions/ (like
@@ -14,32 +14,32 @@ on:
1414
# that lead up to code being packaged and signed.
1515

1616
jobs:
17-
# build-debug:
18-
# name: Build debug
19-
# if: github.event_name == 'push' && github.ref != 'refs/heads/release' # Debug not necessary on release branch (develop is intermediate branch)
20-
# runs-on: macos-13
21-
# steps:
22-
# - uses: actions/checkout@v4
23-
# with:
24-
# fetch-depth: 0
25-
#
26-
# - name: Build debug target
27-
# run: make debug
28-
#
29-
# - name: Prepare debug build for artifact
30-
# run: make debug-dist
31-
#
32-
# - name: Archive artifacts
33-
# uses: actions/upload-artifact@v4
34-
# with:
35-
# name: syncthing-macos-debug
36-
# path: Build/Products/Debug/dist
17+
build-debug:
18+
name: Build debug
19+
if: github.event_name == 'push' && github.ref != 'refs/heads/release' # Debug not necessary on release branch (develop is intermediate branch)
20+
runs-on: macos-13
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
26+
- name: Build debug target
27+
run: make debug
28+
29+
- name: Prepare debug build for artifact
30+
run: make debug-dist
31+
32+
- name: Archive artifacts
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: syncthing-macos-debug
36+
path: Build/Products/Debug/dist
3737

3838
build-release:
3939
name: Build release
40-
if: github.event_name == 'push' && github.ref == 'refs/heads/v2'
40+
if: github.event_name == 'push' && github.ref == 'refs/heads/release'
4141
environment: signing
42-
runs-on: macos-15
42+
runs-on: macos-13
4343
steps:
4444
- uses: actions/checkout@v4
4545
with:
@@ -78,12 +78,12 @@ jobs:
7878
- name: Archive artifacts
7979
uses: actions/upload-artifact@v4
8080
with:
81-
name: syncthing-macos-v2-dmg-release
81+
name: syncthing-macos-dmg-release
8282
path: Build/Products/Release/*.dmg
8383

8484
notarize:
8585
name: Notarize for macOS
86-
if: github.event_name == 'push' && github.ref == 'refs/heads/v2'
86+
if: github.event_name == 'push' && github.ref == 'refs/heads/release'
8787
environment: signing
8888
needs:
8989
- build-release
@@ -92,7 +92,7 @@ jobs:
9292
- name: Download artifacts
9393
uses: actions/download-artifact@v4
9494
with:
95-
name: syncthing-macos-v2-dmg-release
95+
name: syncthing-macos-dmg-release
9696

9797
- name: Notarize binaries
9898
run: |

0 commit comments

Comments
 (0)