📦 Chore(custom): update to macos-14 for github

This commit is contained in:
Kuingsmile 2024-12-04 15:59:16 +08:00
parent 5ddb5b9f23
commit 1517d62712
4 changed files with 236 additions and 236 deletions

View File

@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-12]
os: [macos-14]
steps:
- name: Check out git repository
@ -29,7 +29,7 @@ jobs:
# step2: sign
- name: Install the Apple certificates
if: matrix.os == 'macos-12'
if: matrix.os == 'macos-14'
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-12'
if: matrix.os == 'macos-14'
run: |
yarn
yarn global add xvfb-maybe

View File

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

View File

@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-12, windows-latest]
os: [ubuntu-latest, macos-14, windows-latest]
steps:
@ -37,7 +37,7 @@ jobs:
# step2: sign
- name: Install the Apple certificates
if: matrix.os == 'macos-12'
if: matrix.os == 'macos-14'
run: |
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
@ -55,7 +55,7 @@ jobs:
# step3: yarn
- name: Yarn install macos
if: matrix.os == 'macos-12'
if: matrix.os == 'macos-14'
run: |
yarn
yarn global add xvfb-maybe

View File

@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-12]
os: [macos-14]
# create steps
steps:
@ -36,7 +36,7 @@ jobs:
# step2: sign
- name: Install the Apple certificates
if: matrix.os == 'macos-12'
if: matrix.os == 'macos-14'
run: |
PP_PATH=$RUNNER_TEMP/build/piclistmas.provisionprofile
echo -n "$BUILD_PROVISION_PROFILE_BASE64" | base64 --decode -o $PP_PATH