Skip to content

Commit 0708b54

Browse files
authored
Merge pull request #77 from gitx/XCodeSelectByAction
XCode check by action
2 parents 254e172 + 80baa07 commit 0708b54

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/BuildPR.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os : [ macOS-13 ]
17-
xcode: [ Xcode_14.1, Xcode_14.2, Xcode_15.1, Xcode_15.2 ]
17+
xcode: [ 14.1, 14.2, 15.1, 15.2 ]
1818
arch: [ x86_64 ]
1919
steps:
2020
- name: ls Xcode
@@ -24,8 +24,9 @@ jobs:
2424
with:
2525
fetch-depth: 0
2626
submodules: true
27-
- name: Set XCode Version
28-
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app
27+
- uses: maxim-lobanov/setup-xcode@v1
28+
with:
29+
xcode-version: ${{ matrix.xcode }}
2930
- name: Show openssl version
3031
run: |
3132
openssl version

0 commit comments

Comments
 (0)