Skip to content

Commit bf04f78

Browse files
unity-xcode-builder@v1.1.3 (#11)
- change how xcode version is selected with xcodes
1 parent 73d99a6 commit bf04f78

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61285,7 +61285,7 @@ const main = async () => {
6128561285
let xcodeVersionString = core.getInput('xcode-version');
6128661286
if (xcodeVersionString) {
6128761287
core.info(`Setting xcode version to ${xcodeVersionString}`);
61288-
await exec.exec('sudo', ['xcode-select', '-s', `/Applications/Xcode_${xcodeVersionString}.app/Contents/Developer`]);
61288+
await exec.exec('xcodes', ['select', xcodeVersionString]);
6128961289
}
6129061290
let xcodeVersionOutput = '';
6129161291
await exec.exec('xcodebuild', ['-version'], {

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.

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unity-xcode-builder",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "A GitHub Action to build, archive, and upload Unity exported xcode projects.",
55
"author": "RageAgainstThePixel",
66
"license": "MIT",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const main = async () => {
2222
let xcodeVersionString = core.getInput('xcode-version');
2323
if (xcodeVersionString) {
2424
core.info(`Setting xcode version to ${xcodeVersionString}`);
25-
await exec.exec('sudo', ['xcode-select', '-s', `/Applications/Xcode_${xcodeVersionString}.app/Contents/Developer`]);
25+
await exec.exec('xcodes', ['select', xcodeVersionString]);
2626
}
2727
let xcodeVersionOutput = '';
2828
await exec.exec('xcodebuild', ['-version'], {

0 commit comments

Comments
 (0)