fix(ci): run iOS builds on macOS 26

This commit is contained in:
DIYgod 2026-07-11 10:21:42 +08:00
parent dd99acf8ef
commit de935145da
2 changed files with 7 additions and 7 deletions

View File

@ -32,7 +32,7 @@ jobs:
if [ -n "$available" ]; then
echo "runner-label=self-hosted" >> $GITHUB_OUTPUT
else
echo "runner-label=macos-latest" >> $GITHUB_OUTPUT
echo "runner-label=macos-26" >> $GITHUB_OUTPUT
fi
build-ipa-device-self-hosted:
@ -82,9 +82,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-latest'
if: github.secret_source != 'None' && needs.check-runner.outputs.runner-label == 'macos-26'
needs: check-runner
runs-on: macos-latest
runs-on: macos-26
steps:
- name: 📦 Checkout code
@ -135,7 +135,7 @@ jobs:
build-simulator:
name: Build iOS IPA for simulator
if: github.secret_source != 'None'
runs-on: macos-latest
runs-on: macos-26
steps:
- name: 📦 Checkout code

View File

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