Skip to content

Commit 72a810d

Browse files
committed
Merge branch 'release/1.1.1'
2 parents 0f1f14e + 43f92b5 commit 72a810d

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

.github/workflows/workflow.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ jobs:
55
name: Run
66
runs-on: ${{ matrix.operating-system }}
77
strategy:
8+
fail-fast: false
89
matrix:
910
operating-system: [macOS-latest]
10-
xcode-version: ["10.0", "11.0", "11.1", "11.2.1"]
11+
xcode-version: ["10.0", "10.1", "10.2.1", "10.3", "11.0", "11.1", "11.2.1"]
1112
steps:
1213
- uses: actions/checkout@v1
1314
- name: Setup Xcode
@@ -16,3 +17,4 @@ jobs:
1617
xcode-version: ${{ matrix.xcode-version }}
1718
1819
apple-id-password: ${{ secrets.APPLE_ID_PASSWORD }}
20+
- run: xcodebuild -version -sdk

lib/installer.js

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ function installXcode(version, appleID, appleIDPassword) {
3535
throw new Error(`apple-id-password is required to download Xcode.`);
3636
}
3737
yield exec.exec('xcversion', ['install', version], {
38+
cwd: process.env.TMPDIR,
3839
env: Object.assign(Object.assign({}, process.env), { XCODE_INSTALL_USER: appleID, XCODE_INSTALL_PASSWORD: appleIDPassword })
3940
});
4041
yield exec.exec('xcversion', ['select', version]);

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-xcode",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"private": true,
55
"description": "setup xcode action",
66
"main": "lib/setup-xcode.js",

src/installer.ts

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export async function installXcode(
2828
}
2929

3030
await exec.exec('xcversion', ['install', version], {
31+
cwd: process.env.TMPDIR,
3132
env: {
3233
...process.env,
3334
XCODE_INSTALL_USER: appleID,

0 commit comments

Comments
 (0)