Skip to content

Commit ba2dea3

Browse files
committed
chore(actions): xcodes ios 18 fix (#5134)
1 parent f262ddf commit ba2dea3

File tree

11 files changed

+41
-41
lines changed

11 files changed

+41
-41
lines changed

.github/composite_actions/launch_android_emulator/dist/main.cjs.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/launch_ios_simulator/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Launches an iOS simulator and caches it for further action runs
33
inputs:
44
ios-version:
55
description: The iOS version
6-
default: "latest"
6+
default: "17.5"
77
runs:
88
using: "node16"
99
main: "dist/index.mjs"

.github/composite_actions/launch_ios_simulator/dist/main.cjs

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/launch_ios_simulator/dist/main.cjs.map

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/log_cw_metric/dist/main.cjs.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/setup_chromedriver/dist/main.cjs

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/setup_chromedriver/dist/main.cjs.map

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/actions.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
sdk: 3.3.0
3636

3737
- name: Setup pnpm
38-
uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # 2.4.0
38+
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # 4.0.0
3939
with:
40-
version: 8
40+
version: 9
4141

4242
- name: Get Packages
4343
working-directory: actions
@@ -99,7 +99,7 @@ jobs:
9999
matrix:
100100
ios-version:
101101
- "15.0"
102-
- "latest"
102+
- "17.5"
103103
steps:
104104
- name: Git Checkout
105105
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 3.6.0

.github/workflows/amplify_canaries.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
flutter-version: "3.19.0"
166166
ios-version:
167167
- "15.0"
168-
- "latest"
168+
- "17.5"
169169
steps:
170170
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 3.6.0
171171
with:

actions/bin/launch_ios_simulator.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ import 'package:collection/collection.dart';
88

99
Future<void> main(List<String> args) => wrapMain(launch);
1010

11+
// TODO(equartey): Refactor to enable downloading of iOS 18 runtimes given
12+
// Apple's breaking change which `Xcodes` does not yet support.
13+
// https://github.com/XcodesOrg/xcodes/releases/tag/1.5.0
1114
Future<void> launch() async {
15+
await installXcodes();
1216
final iosVersionArg = core.getInput('ios-version');
1317
final iosVersion =
1418
iosVersionArg == 'latest' ? await getLatest() : 'iOS $iosVersionArg';
@@ -24,7 +28,6 @@ Future<void> launch() async {
2428
);
2529
if (runtimeIdentifier == null) {
2630
core.info('No runtime found for $iosVersion');
27-
await installXcodes();
2831
await installRuntime(iosVersion);
2932
}
3033
runtimeIdentifier = await core.withGroup(

actions/bin/launch_ios_simulator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Launches an iOS simulator and caches it for further action runs
33
inputs:
44
ios-version:
55
description: The iOS version
6-
default: "latest"
6+
default: "17.5"
77
runs:
88
using: "node16"
99
main: "dist/index.mjs"

0 commit comments

Comments
 (0)