https://github.com/ackeecz/load-xcode-version
GitHub action for loading Xcode version from shared storage
https://github.com/ackeecz/load-xcode-version
Last synced: 3 months ago
JSON representation
GitHub action for loading Xcode version from shared storage
- Host: GitHub
- URL: https://github.com/ackeecz/load-xcode-version
- Owner: AckeeCZ
- License: mit
- Created: 2020-04-29T08:36:15.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T10:52:22.000Z (over 1 year ago)
- Last Synced: 2025-07-21T04:49:16.788Z (3 months ago)
- Language: JavaScript
- Size: 115 KB
- Stars: 2
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```YAML
uses: AckeeCZ/load-xcode-version@1.0
```### 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`
```YAML
uses: AckeeCZ/load-xcode-version@1.0
with:
xcode_version_location: 'xcode_version'
autoselect_xcode: 'false'
```