You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# We want both arm64 and intel mac builds, and according to this https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources macos-14 and above is always arm64 and macos-13 is the last intel runner
245
238
# NOTE x64 builds made on an arm64 host will not bundle the native modules correctly https://github.com/electron-userland/electron-builder/issues/8646
246
239
build_mac_arm64:
240
+
needs: [create_draft_release_if_needed]
247
241
runs-on: macos-14
248
242
env:
249
243
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -277,6 +271,7 @@ jobs:
277
271
278
272
build_mac_x64:
279
273
runs-on: macos-13
274
+
needs: [create_draft_release_if_needed]
280
275
env:
281
276
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
282
277
MAC_CERTIFICATE: ${{ secrets.MAC_CERTIFICATE }}
@@ -310,12 +305,14 @@ jobs:
310
305
post_build_mac:
311
306
needs: [build_mac_arm64, build_mac_x64]
312
307
runs-on: ubuntu-22.04
308
+
env:
309
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
313
310
steps:
314
311
- name: Checkout git repo
315
312
# only run this on "push" to "master" or alpha releases
0 commit comments