Skip to content

Commit 4a6d16c

Browse files
committed
build: use macos-13 image
1 parent 1676a4a commit 4a6d16c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
os: [ubuntu-latest, macos-latest, windows-latest]
14+
os: [ubuntu-latest, macos-13, windows-latest]
1515
version: [
1616
{ node: 20.14.0, electron: 31.1.0, openssl: 1.1.1w }
1717
]
@@ -59,7 +59,7 @@ jobs:
5959
make install
6060
6161
- name: Setup (macos)
62-
if: matrix.os == 'macos-latest'
62+
if: matrix.os == 'macos-13'
6363
run: |
6464
echo "npm_config_openssl_dir=/usr/local/opt/[email protected]" >> "$GITHUB_ENV"
6565
@@ -89,7 +89,7 @@ jobs:
8989
npx node-pre-gyp-github publish
9090
9191
- name: Setup (macos M1)
92-
if: matrix.os == 'macos-latest'
92+
if: matrix.os == 'macos-13'
9393
run: |
9494
brew install grep
9595
brew uninstall --ignore-dependencies [email protected]
@@ -98,7 +98,7 @@ jobs:
9898
brew install "$FILE"
9999
100100
- name: Install (macos M1)
101-
if: matrix.os == 'macos-latest'
101+
if: matrix.os == 'macos-13'
102102
env:
103103
CC: clang
104104
CXX: clang++
@@ -109,7 +109,7 @@ jobs:
109109
run: npm ci --arch=arm64 --runtime=electron --target=${{ matrix.version.electron }} --target_arch=arm64 --disturl=https://electronjs.org/headers --build_from_source=true
110110

111111
- name: Deploy (macos M1)
112-
if: matrix.os == 'macos-latest'
112+
if: matrix.os == 'macos-13'
113113
env:
114114
NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115115
run: |

0 commit comments

Comments
 (0)