Skip to content

Commit 40d9458

Browse files
committed
Merge branch 'release/2.0.0' into main
# Conflicts: # README.md
2 parents 7ee4a2d + fd72db6 commit 40d9458

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+5428
-15699
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/** -diff linguist-generated=true

.github/dependabot.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
# Enable version updates for npm
4+
- package-ecosystem: "npm"
5+
# Look for `package.json` and `lock` files in the `root` directory
6+
directory: "/"
7+
# Check the npm registry for updates every day (weekdays)
8+
schedule:
9+
interval: "daily"

.github/workflows/tests.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "Tests"
2+
on:
3+
push:
4+
paths:
5+
- '.github/workflows/tests.yml'
6+
- 'action.yml'
7+
- 'dist/**'
8+
pull_request:
9+
paths:
10+
- '.github/workflows/tests.yml'
11+
- 'action.yml'
12+
- 'dist/**'
13+
14+
jobs:
15+
# test action works running from the graph
16+
test:
17+
runs-on: ${{ matrix.operating-system }}
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
operating-system: [macos-latest]
22+
xcode-version: ["10.0", "10.3", "11.0", "11.5", "12.0.1", "12.4"]
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: ./
26+
with:
27+
xcode-version: ${{ matrix.xcode-version }}
28+
29+
apple-id-password: ${{ secrets.APPLE_ID_PASSWORD }}
30+
env:
31+
SPACESHIP_SKIP_2FA_UPGRADE: 1
32+
- run: xcodebuild -version

.github/workflows/units.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "Unit Tests"
2+
on:
3+
push:
4+
paths:
5+
- '.github/workflows/units.yml'
6+
- '**/*.js'
7+
- '**/*.mjs'
8+
- 'package*.json'
9+
pull_request:
10+
paths:
11+
- '.github/workflows/units.yml'
12+
- '**/*.js'
13+
- '**/*.mjs'
14+
- 'package*.json'
15+
16+
jobs:
17+
# unit tests
18+
units:
19+
runs-on: macos-latest
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: actions/setup-node@v2
23+
with:
24+
node-version: '12'
25+
- run: npm ci
26+
- run: npm test

.github/workflows/versions.yml

-31
This file was deleted.

.github/workflows/workflow.yml

-38
This file was deleted.

.gitignore

+67-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,67 @@
1-
!node_modules/
2-
__tests__/runner/*
1+
node_modules/
2+
3+
# Editors
4+
.vscode/
5+
.idea/
6+
*.iml
7+
8+
# Logs
9+
logs
10+
*.log
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
15+
# Runtime data
16+
pids
17+
*.pid
18+
*.seed
19+
*.pid.lock
20+
21+
# Directory for instrumented libs generated by jscoverage/JSCover
22+
lib-cov
23+
24+
# Coverage directory used by tools like istanbul
25+
coverage
26+
27+
# nyc test coverage
28+
.nyc_output
29+
30+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
31+
.grunt
32+
33+
# Bower dependency directory (https://bower.io/)
34+
bower_components
35+
36+
# node-waf configuration
37+
.lock-wscript
38+
39+
# Compiled binary addons (https://nodejs.org/api/addons.html)
40+
build/Release
41+
42+
# Other Dependency directories
43+
jspm_packages/
44+
45+
# TypeScript v1 declaration files
46+
typings/
47+
48+
# Optional npm cache directory
49+
.npm
50+
51+
# Optional eslint cache
52+
.eslintcache
53+
54+
# Optional REPL history
55+
.node_repl_history
56+
57+
# Output of 'npm pack'
58+
*.tgz
59+
60+
# Yarn Integrity file
61+
.yarn-integrity
62+
63+
# dotenv environment variables file
64+
.env
65+
66+
# next.js build output
67+
.next

CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @actions/actions-runtime

CODE_OF_CONDUCT.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

CONTRIBUTING.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Contributing
2+
3+
## Install the dependencies
4+
5+
```bash
6+
npm install
7+
```
8+
9+
## Run the tests :heavy_check_mark:
10+
11+
```bash
12+
$ npm test
13+
14+
PASS ./index.test.js
15+
✓ throws invalid number (3ms)
16+
wait 500 ms (504ms)
17+
test runs (95ms)
18+
...
19+
```
20+
21+
## Package for distribution
22+
23+
Run prepare
24+
25+
```bash
26+
npm run prepare
27+
```

LICENSE

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
MIT License
12

2-
The MIT License (MIT)
3-
4-
Copyright (c) 2018 GitHub, Inc. and contributors
3+
Copyright (c) 2020 Jaehong Kang
54

65
Permission is hereby granted, free of charge, to any person obtaining a copy
76
of this software and associated documentation files (the "Software"), to deal
@@ -10,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
109
copies of the Software, and to permit persons to whom the Software is
1110
furnished to do so, subject to the following conditions:
1211

13-
The above copyright notice and this permission notice shall be included in
14-
all copies or substantial portions of the Software.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1514

1615
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1716
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1817
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1918
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2019
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22-
THE SOFTWARE.
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
# actions-setup-xcode
22

3-
<p align="left">
4-
<a href="https://github.com/sinoru/actions-setup-xcode/actions"><img alt="test status" src="https://github.com/sinoru/actions-setup-xcode/workflows/build-test/badge.svg"></a>
5-
6-
<a href="https://github.com/sinoru/actions-setup-xcode/actions"><img alt="versions status" src="https://github.com/sinoru/actions-setup-xcode/workflows/xcode-versions/badge.svg"></a>
7-
</p>
8-
3+
[![Unit Tests](https://github.com/sinoru/actions-setup-xcode/actions/workflows/units.yml/badge.svg)](https://github.com/sinoru/actions-setup-xcode/actions/workflows/test.yml)
4+
[![Tests](https://github.com/sinoru/actions-setup-xcode/actions/workflows/tests.yml/badge.svg)](https://github.com/sinoru/actions-setup-xcode/actions/workflows/test.yml)
95

106
This action sets up a Xcode environment for use in actions by:
117

@@ -20,7 +16,7 @@ Basic:
2016
```yaml
2117
steps:
2218
- uses: actions/checkout@master
23-
- uses: sinoru/actions-setup-xcode@v1.1
19+
- uses: sinoru/actions-setup-xcode@v2
2420
with:
2521
xcode-version: '11.2.1' # Exact version of a Xcode version to use
2622
apple-id: '[email protected]' # Apple ID to download from Apple Developer when Xcode not available in local
@@ -34,4 +30,4 @@ The scripts and documentation in this project are released under the [MIT Licens
3430
3531
# Contributions
3632
37-
Contributions are welcome! See [Contributor's Guide](docs/contributors.md)
33+
Contributions are welcome! See [Contributor's Guide](CONTRIBUTING.md)

0 commit comments

Comments
 (0)