📦 Chore(custom): update to macos-12 for action

This commit is contained in:
Kuingsmile
2024-05-21 09:22:50 +08:00
parent ace6f2e971
commit 5eb3c9db8a
6 changed files with 11 additions and 75 deletions

View File

@@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-11]
os: [macos-12]
steps:
- name: Check out git repository
@@ -29,7 +29,7 @@ jobs:
# step2: sign
- name: Install the Apple certificates
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-12'
run: |
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
@@ -47,7 +47,7 @@ jobs:
# step3: yarn
- name: Yarn install macos
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-12'
run: |
yarn
yarn global add xvfb-maybe