From 4a6d16cc9fcafd38ccb60f826af6311946666254 Mon Sep 17 00:00:00 2001 From: Mike Jerred Date: Sat, 29 Jun 2024 10:25:14 +0100 Subject: [PATCH] build: use macos-13 image --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a08c99bef..05f57cb7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 } ] @@ -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/openssl@1.1" >> "$GITHUB_ENV" @@ -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 openssl@1.1 @@ -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++ @@ -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: |