Skip to content

Commit a27f422

Browse files
Update deploy_new_version.yml with manually download ios 18.2
1 parent 7c7c71a commit a27f422

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/deploy_new_version.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ on:
77

88
jobs:
99
deploy:
10-
runs-on: macos-15
10+
runs-on: macos-latest
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: maxim-lobanov/setup-xcode@v1
1414
with:
15-
xcode-version: "16.1"
15+
xcode-version: "16.2"
16+
- name: Manually download iOS 18.2
17+
if: env.simulator_cached == 'false'
18+
run: |
19+
xcodebuild -downloadPlatform iOS -buildVersion 18.2 -exportPath ~/SimulatorRuntimes/
20+
xcodebuild -importPlatform "/Users/runner/SimulatorRuntimes/iphonesimulator_18.2_22C150.dmg"
1621
- run: swift run
1722
working-directory: ./deploy_new_version
1823
env:

0 commit comments

Comments
 (0)