Skip to content

Commit

Permalink
build: use macos-13 image
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeJerred committed Jun 29, 2024
1 parent 1676a4a commit 4a6d16c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-13, windows-latest]
version: [
{ node: 20.14.0, electron: 31.1.0, openssl: 1.1.1w }
]
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
make install
- name: Setup (macos)
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-13'
run: |
echo "npm_config_openssl_dir=/usr/local/opt/[email protected]" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
npx node-pre-gyp-github publish
- name: Setup (macos M1)
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-13'
run: |
brew install grep
brew uninstall --ignore-dependencies [email protected]
Expand All @@ -98,7 +98,7 @@ jobs:
brew install "$FILE"
- name: Install (macos M1)
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-13'
env:
CC: clang
CXX: clang++
Expand All @@ -109,7 +109,7 @@ jobs:
run: npm ci --arch=arm64 --runtime=electron --target=${{ matrix.version.electron }} --target_arch=arm64 --disturl=https://electronjs.org/headers --build_from_source=true

- name: Deploy (macos M1)
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-13'
env:
NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit 4a6d16c

Please sign in to comment.