Skip to content

Commit

Permalink
Merge branch 'release/1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
sinoru committed Nov 23, 2019
2 parents acd3d08 + d5077f5 commit 0f1f14e
Show file tree
Hide file tree
Showing 168 changed files with 948 additions and 11,008 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint
on: [push]
jobs:
run:
name: Run
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master

- name: Set Node.js 12.x
uses: actions/setup-node@master
with:
node-version: '12.x'

- name: npm install
run: npm install

- name: Lint
run: npm run format-check
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
operating-system: [macOS-latest]
xcode-version: ["10.0", "11.0", "11.2.1"]
xcode-version: ["10.0", "11.0", "11.1", "11.2.1"]
steps:
- uses: actions/checkout@v1
- name: Setup Xcode
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ Basic:
```yaml
steps:
- uses: actions/checkout@master
- uses: sinoru/actions-setup-xcode@master
- uses: sinoru/actions-setup-xcode@v1.1
with:
xcode-version: '11.2.1' # Exact version of a Xcode version to use
apple-id: '[email protected]' # Apple ID to download from Apple Developer when Xcode not available in local
apple-id-password: ${{ secrets.APPLE_ID_PASSWORD }}
- run: xcodebuild -h
- run: fastlane scan
```
# License
Expand Down
7 changes: 4 additions & 3 deletions lib/installer.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Expand Down Expand Up @@ -33,8 +34,8 @@ function installXcode(version, appleID, appleIDPassword) {
if (!appleIDPassword) {
throw new Error(`apple-id-password is required to download Xcode.`);
}
yield exec.exec('xcversion', ['install', version,], {
env: Object.assign({}, process.env, { XCODE_INSTALL_USER: appleID, XCODE_INSTALL_PASSWORD: appleIDPassword })
yield exec.exec('xcversion', ['install', version], {
env: Object.assign(Object.assign({}, process.env), { XCODE_INSTALL_USER: appleID, XCODE_INSTALL_PASSWORD: appleIDPassword })
});
yield exec.exec('xcversion', ['select', version]);
}
Expand Down
3 changes: 2 additions & 1 deletion lib/setup-xcode.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Expand Down
15 changes: 0 additions & 15 deletions node_modules/.bin/uuid

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/@actions/core/LICENSE.md

This file was deleted.

103 changes: 81 additions & 22 deletions node_modules/@actions/core/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions node_modules/@actions/core/lib/command.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions node_modules/@actions/core/lib/command.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@actions/core/lib/command.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 44 additions & 5 deletions node_modules/@actions/core/lib/core.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0f1f14e

Please sign in to comment.