Skip to content

Commit 54e641f

Browse files
committed
Update xcversion at first
1 parent 347294a commit 54e641f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

dist/index.js

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

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ async function installXcode(xcodeVersion, appleID, appleIDPassword) {
88
throw new Error(`${process.platform} is not supported!`);
99
}
1010

11+
await exec.exec('xcversion', ['update'])
12+
1113
if (
1214
(await exec.exec('xcversion', ['select', xcodeVersion], {
1315
ignoreReturnCode: true

0 commit comments

Comments
 (0)