mirror of
https://github.com/RSSNext/Folo.git
synced 2026-10-17 05:08:13 +08:00
fix(workflows): update macOS runner version from 16 to latest in CI configurations
Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -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' }}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user