Skip to content

Commit e333db3

Browse files
authored
[BRE-1302] Update runners to macos-15 (#918)
* [BRE-1302] Update runners to macos-15 and update architecture dependencies and targets to arm64 * [BRE-1302] Update macos-cli build job to macos-15 runner
1 parent a44eb28 commit e333db3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120

121121
macos-cli:
122122
name: Build Mac CLI
123-
runs-on: macos-13
123+
runs-on: macos-15
124124
needs: setup
125125
permissions:
126126
contents: read
@@ -148,7 +148,7 @@ jobs:
148148
- name: Keytar
149149
run: |
150150
keytarVersion=$(cat package.json | jq -r '.dependencies.keytar')
151-
keytarTar="keytar-v$keytarVersion-napi-v3-darwin-x64.tar"
151+
keytarTar="keytar-v$keytarVersion-napi-v3-darwin-arm64.tar"
152152
153153
keytarTarGz="$keytarTar.gz"
154154
keytarUrl="https://github.com/atom/node-keytar/releases/download/v$keytarVersion/$keytarTarGz"
@@ -427,7 +427,7 @@ jobs:
427427

428428
macos-gui:
429429
name: Build MacOS GUI
430-
runs-on: macos-13
430+
runs-on: macos-15
431431
needs: setup
432432
permissions:
433433
contents: read

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"pack:win:ci": "npm run clean:dist && electron-builder --win --x64 --ia32 -p never",
5050
"pack:cli": "npm run pack:cli:win | npm run pack:cli:mac | npm run pack:cli:lin",
5151
"pack:cli:win": "pkg ./src-cli --targets win-x64 --output ./dist-cli/windows/bwdc.exe",
52-
"pack:cli:mac": "pkg ./src-cli --targets macos-x64 --output ./dist-cli/macos/bwdc",
52+
"pack:cli:mac": "pkg ./src-cli --targets macos-arm64 --output ./dist-cli/macos/bwdc",
5353
"pack:cli:lin": "pkg ./src-cli --targets linux-x64 --output ./dist-cli/linux/bwdc",
5454
"dist:lin": "npm run build:dist && npm run pack:lin",
5555
"dist:mac": "npm run build:dist && npm run pack:mac",

0 commit comments

Comments
 (0)