Skip to content

Commit 1a228f5

Browse files
fix license accept
1 parent b1eb2c9 commit 1a228f5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60682,7 +60682,7 @@ const main = async () => {
6068260682
core.info(`Setting xcode version to ${xcodeVersionString}`);
6068360683
if (xcodeVersionString.includes('latest')) {
6068460684
await exec.exec('xcodes', ['install', '--latest', '--select']);
60685-
await exec.exec('xcodebuild', ['-license accept']);
60685+
await exec.exec('xcodebuild', ['-license', 'accept']);
6068660686
await exec.exec('xcodebuild', ['-runFirstLaunch']);
6068760687
}
6068860688
else {

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.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const main = async () => {
2424
core.info(`Setting xcode version to ${xcodeVersionString}`);
2525
if (xcodeVersionString.includes('latest')) {
2626
await exec.exec('xcodes', ['install', '--latest', '--select']);
27-
await exec.exec('xcodebuild', ['-license accept']);
27+
await exec.exec('xcodebuild', ['-license', 'accept']);
2828
await exec.exec('xcodebuild', ['-runFirstLaunch']);
2929
} else {
3030
await exec.exec('xcodes', ['select', xcodeVersionString]);

0 commit comments

Comments
 (0)