Skip to content

First implementation of action

Compare
Choose a tag to compare
@maxim-lobanov maxim-lobanov released this 01 May 11:00
· 31 commits to master since this release
6bb546d

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 virtual-environments repository.

Available parameters

Argument Description Format
xcode-version Specify the Xcode version to use latest keyword or any semver string

Examples: latest, 10, 11.4, 11.4.0, ^11.4.0

Usage

name: CI
on: [push]
jobs:
  build:
    name: Set 
    runs-on: macos-latest
    steps:
    - name: setup-xcode
      uses: maxim-lobanov/setup-xcode@1.0
      with:
        xcode-version: 11.4 # set the latest available Xcode 11.4.*

    - name: setup-latest-xcode
      uses: maxim-lobanov/setup-xcode@1.0
      with:
        xcode-version: latest # set the latest available Xcode 11.4.*

License

The scripts and documentation in this project are released under the MIT License