-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement "latest-stable" support (#5)
* add "latest-stable" keyword * rebuild app, update readme
- Loading branch information
1 parent
e8ada21
commit 8d89617
Showing
7 changed files
with
2,503 additions
and
1,288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,31 +6,45 @@ The list of all available versions can be found in [virtual-environments](https: | |
# Available parameters | ||
| Argument | Description | Format | | ||
|-------------------------|--------------------------|--------------------| | ||
| `xcode-version` | Specify the Xcode version to use | `latest` keyword or any [semver](https://semver.org/) string | | ||
| `xcode-version` | Specify the Xcode version to use | `latest`, `latest-stable` or any [semver](https://semver.org/) string | | ||
|
||
**Examples:** `latest`, `10`, `11.4`, `11.4.0`, `^11.4.0` | ||
|
||
**Note:** `latest` *includes* beta releases that GitHub actions has installed. | ||
**Examples:** `latest`, `latest-stable`, `10`, `11.4`, `11.4.0`, `^11.4.0` | ||
**Note:** | ||
- `latest-stable` points to the latest stable version of Xcode | ||
- `latest` *includes* beta releases that GitHub actions has installed. | ||
|
||
# Usage | ||
Set the latest stable Xcode version: | ||
``` | ||
name: CI | ||
on: [push] | ||
jobs: | ||
build: | ||
name: Set | ||
runs-on: macos-latest | ||
steps: | ||
- name: setup-xcode | ||
uses: maxim-lobanov/[email protected] | ||
- uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: 11.4 # set the latest available Xcode 11.4.* | ||
xcode-version: latest-stable | ||
``` | ||
|
||
- name: setup-latest-xcode | ||
uses: maxim-lobanov/[email protected] | ||
Set the latest Xcode version including beta releases: | ||
``` | ||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: latest # set the latest available Xcode 11.4.* | ||
xcode-version: latest | ||
``` | ||
|
||
Set the specific version of Xcode: | ||
``` | ||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: 11.4 | ||
``` | ||
# License | ||
The scripts and documentation in this project are released under the [MIT License](LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.