Skip to content

GitHub action for loading Xcode version from shared storage

License

Notifications You must be signed in to change notification settings

m-wayne/load-xcode-version

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Load Xcode version

GitHub action for loading Xcode version from shared file.

Prerequisities

As this action is tied to Xcode, it is required to be run on macOS runners.

Also it expects that Xcode version defined in you version files is available on your runner and it is in default Applications folder (/Applications/Xcode_{version}.app).

Inputs

Name Description
xcode_version_location Location of file where Xcode version is written Required Default: .github/xcode-version
autoselect_xcode If true then action will call xcode-select to automatically select loaded Xcode version Required Default: true

Outputs

Name Description
xcode_version Version of Xcode that was loaded from given file

Example usage

Basic usage

If you store your Xcode version in default location and you want the action to select it for you, you just call the action without any arguments.

uses: AckeeCZ/[email protected]

Customized usage

If you store your Xcode version elsewhere and prefer to set it yourself, you just pass your location and you can disable calling xcode-select

uses: AckeeCZ/[email protected]
with:
    xcode_version_location: 'xcode_version'
    autoselect_xcode: 'false'

About

GitHub action for loading Xcode version from shared storage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%