🐛 Fix(custom): change to macos-13

This commit is contained in:
Kuingsmile 2024-12-04 17:26:20 +08:00
parent 1517d62712
commit 3efd2c2dd1
4 changed files with 11 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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