Merge pull request #4248 from RSSNext/fix/macos-ci

fix(workflows): update macOS runner version from 16 to latest in CI
This commit is contained in:
Innei 2025-07-26 13:14:00 +08:00 committed by GitHub
commit 3d209ef767
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

View File

@ -45,7 +45,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-16, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest, windows-latest]
exclude:
- os: ${{ github.event.inputs.store == 'true' && 'ubuntu-latest' }}

View File

@ -29,7 +29,7 @@ jobs:
if [ -n "$available" ]; then
echo "runner-label=self-hosted" >> $GITHUB_OUTPUT
else
echo "runner-label=macos-16" >> $GITHUB_OUTPUT
echo "runner-label=macos-latest" >> $GITHUB_OUTPUT
fi
build-ipa-device-self-hosted:
@ -71,9 +71,9 @@ jobs:
build-ipa-device-github:
name: Build iOS IPA for device (GitHub-hosted)
if: github.secret_source != 'None' && needs.check-runner.outputs.runner-label == 'macos-16'
if: github.secret_source != 'None' && needs.check-runner.outputs.runner-label == 'macos-latest'
needs: check-runner
runs-on: macos-16
runs-on: macos-latest
steps:
- name: 📦 Checkout code
@ -117,7 +117,7 @@ jobs:
build-simulator:
name: Build iOS IPA for simulator
if: github.secret_source != 'None'
runs-on: macos-16
runs-on: macos-latest
steps:
- name: 📦 Checkout code

View File

@ -36,7 +36,7 @@ jobs:
if [ -n "$available" ]; then
echo "runner-label=self-hosted" >> $GITHUB_OUTPUT
else
echo "runner-label=macos-16" >> $GITHUB_OUTPUT
echo "runner-label=macos-latest" >> $GITHUB_OUTPUT
fi
build-ipa-self-hosted:
@ -83,9 +83,9 @@ jobs:
build-ipa-github:
name: Build iOS IPA (GitHub)
if: github.secret_source != 'None' && needs.check-runner.outputs.runner-label == 'macos-16'
if: github.secret_source != 'None' && needs.check-runner.outputs.runner-label == 'macos-latest'
needs: check-runner
runs-on: macos-16
runs-on: macos-latest
steps:
- name: 📦 Checkout code