Skip to content

Commit 60606e2

Browse files
Update Node.js from 16 to 20 (#69)
* Update node.js and other dependencies * update readme * macOS 13 * remove xcode 15 from CI tests for now
1 parent 9a697e2 commit 60606e2

File tree

9 files changed

+8461
-5714
lines changed

9 files changed

+8461
-5714
lines changed

Diff for: .github/workflows/e2e.yml

+22-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,28 @@ jobs:
3434
runs-on: macos-12
3535
strategy:
3636
matrix:
37-
xcode-version: ['13.2.1', '13.4', '14.0.0', '14', latest, latest-stable]
37+
xcode-version: ['13.2.1', '13.4', '14.0.1', '14', '14.2', latest, latest-stable]
38+
fail-fast: false
39+
steps:
40+
- name: Checkout
41+
uses: actions/checkout@v3
42+
43+
- uses: ./
44+
name: Setup Xcode
45+
id: setup-xcode
46+
with:
47+
xcode-version: ${{ matrix.xcode-version }}
48+
- name: Print output variables
49+
run: |
50+
echo "Version: ${{ steps.setup-xcode.outputs.version }}"
51+
echo "Path: ${{ steps.setup-xcode.outputs.path }}"
52+
53+
versions-macOS-13:
54+
name: macOS 13
55+
runs-on: macos-13
56+
strategy:
57+
matrix:
58+
xcode-version: ['14', '14.2', '14.3.1', latest, latest-stable]
3859
fail-fast: false
3960
steps:
4061
- name: Checkout

Diff for: README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# setup-xcode
22
This action is intended to switch between pre-installed versions of Xcode for macOS images in GitHub Actions.
33

4-
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.
4+
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.
55

66
# Available parameters
77
| Argument | Description | Format |
@@ -11,7 +11,7 @@ The list of all available versions can be found in [runner-images](https://githu
1111
**Notes:**
1212
- `latest-stable` points to the latest stable version of Xcode
1313
- `latest` *includes* beta releases that GitHub actions has installed
14-
- SemVer examples: `10`, `11.4`, `12.0`, `11.7.0`, `^11.7.0` (find more examples in [SemVer cheatsheet](https://devhints.io/semver))
14+
- SemVer examples: `14`, `14.1`, `14.3.1`, `^14.3.0` (find more examples in [SemVer cheatsheet](https://devhints.io/semver))
1515
- `-beta` suffix after SemVer will only select among beta releases that GitHub actions has installed
1616
- 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
1717

@@ -43,22 +43,22 @@ Set the specific stable version of Xcode:
4343
```
4444
jobs:
4545
build:
46-
runs-on: macos-11
46+
runs-on: macos-13
4747
steps:
4848
- uses: maxim-lobanov/setup-xcode@v1
4949
with:
50-
xcode-version: '13.0'
50+
xcode-version: '14.3.1'
5151
```
5252

5353
Set the specific beta version of Xcode:
5454
```
5555
jobs:
5656
build:
57-
runs-on: macos-11
57+
runs-on: macos-13
5858
steps:
5959
- uses: maxim-lobanov/setup-xcode@v1
6060
with:
61-
xcode-version: '13.0-beta'
61+
xcode-version: '15.0-beta'
6262
```
6363
# License
6464
The scripts and documentation in this project are released under the [MIT License](LICENSE)

Diff for: action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
required: false
88
default: latest
99
runs:
10-
using: 'node16'
10+
using: 'node20'
1111
main: 'dist/index.js'
1212
branding:
1313
icon: 'code'

0 commit comments

Comments
 (0)