Skip to content

Commit

Permalink
Update Node.js from 16 to 20 (#69)
Browse files Browse the repository at this point in the history
* Update node.js and other dependencies

* update readme

* macOS 13

* remove xcode 15 from CI tests for now
  • Loading branch information
maxim-lobanov authored Sep 23, 2023
1 parent 9a697e2 commit 60606e2
Show file tree
Hide file tree
Showing 9 changed files with 8,461 additions and 5,714 deletions.
23 changes: 22 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,28 @@ jobs:
runs-on: macos-12
strategy:
matrix:
xcode-version: ['13.2.1', '13.4', '14.0.0', '14', latest, latest-stable]
xcode-version: ['13.2.1', '13.4', '14.0.1', '14', '14.2', latest, latest-stable]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3

- uses: ./
name: Setup Xcode
id: setup-xcode
with:
xcode-version: ${{ matrix.xcode-version }}
- name: Print output variables
run: |
echo "Version: ${{ steps.setup-xcode.outputs.version }}"
echo "Path: ${{ steps.setup-xcode.outputs.path }}"
versions-macOS-13:
name: macOS 13
runs-on: macos-13
strategy:
matrix:
xcode-version: ['14', '14.2', '14.3.1', latest, latest-stable]
fail-fast: false
steps:
- name: Checkout
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# setup-xcode
This action is intended to switch between pre-installed versions of Xcode for macOS images in GitHub Actions.

The list of all available versions can be found in [runner-images](https://github.com/actions/runner-images/blob/master/images/macos/macos-12-Readme.md#xcode) repository.
The list of all available versions can be found in [runner-images](https://github.com/actions/runner-images/blob/master/images/macos/macos-13-Readme.md#xcode) repository.

# Available parameters
| Argument | Description | Format |
Expand All @@ -11,7 +11,7 @@ The list of all available versions can be found in [runner-images](https://githu
**Notes:**
- `latest-stable` points to the latest stable version of Xcode
- `latest` *includes* beta releases that GitHub actions has installed
- SemVer examples: `10`, `11.4`, `12.0`, `11.7.0`, `^11.7.0` (find more examples in [SemVer cheatsheet](https://devhints.io/semver))
- SemVer examples: `14`, `14.1`, `14.3.1`, `^14.3.0` (find more examples in [SemVer cheatsheet](https://devhints.io/semver))
- `-beta` suffix after SemVer will only select among beta releases that GitHub actions has installed
- If sets a specific version, wraps it to single quotes in YAML like `'12.0'` to pass it as string because GitHub trimmes trailing `.0` from numbers

Expand Down Expand Up @@ -43,22 +43,22 @@ Set the specific stable version of Xcode:
```
jobs:
build:
runs-on: macos-11
runs-on: macos-13
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '13.0'
xcode-version: '14.3.1'
```

Set the specific beta version of Xcode:
```
jobs:
build:
runs-on: macos-11
runs-on: macos-13
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '13.0-beta'
xcode-version: '15.0-beta'
```
# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
required: false
default: latest
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'code'
Expand Down
Loading

0 comments on commit 60606e2

Please sign in to comment.