Validate 'setup-xcode' #1258
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
name: Validate 'setup-xcode' | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
schedule: | |
- cron: 0 0 * * * | |
jobs: | |
versions-macOS-12: | |
name: macOS 12 | |
runs-on: macos-12 | |
strategy: | |
matrix: | |
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@v4 | |
- 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 | |
uses: actions/checkout@v4 | |
- 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-14: | |
name: macOS 14 | |
runs-on: macos-14 | |
strategy: | |
matrix: | |
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md#xcode | |
xcode-version: ['14.3.1', '15.2', '15.3', latest, latest-stable] | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- 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 }}" |