An open API service indexing awesome lists of open source software.

https://github.com/sinoru/actions-setup-xcode

Set up your GitHub Actions workflow with a specific version of Xcode
https://github.com/sinoru/actions-setup-xcode

apple ci continuous-deployment continuous-integration github-actions ios macos tvos watchos xcode

Last synced: 2 months ago
JSON representation

Set up your GitHub Actions workflow with a specific version of Xcode

Awesome Lists containing this project

README

          

# actions-setup-xcode

[![Unit Tests](https://github.com/sinoru/actions-setup-xcode/actions/workflows/units.yml/badge.svg)](https://github.com/sinoru/actions-setup-xcode/actions/workflows/test.yml)
[![Tests](https://github.com/sinoru/actions-setup-xcode/actions/workflows/tests.yml/badge.svg)](https://github.com/sinoru/actions-setup-xcode/actions/workflows/test.yml)

This action sets up a Xcode environment for use in actions by:

- optionally downloading a version of Xcode from Apple Developer. The action will fail if no matching versions are found in local and Apple ID is not available.
- registering problem matchers for error output

# Usage

See [action.yml](action.yml)

Basic:
```yaml
steps:
- uses: actions/checkout@master
- uses: sinoru/actions-setup-xcode@v2
with:
xcode-version: '13.4' # Exact version of a Xcode version to use
apple-id: 'bot@sinoru.io' # Apple ID to download from Apple Developer when Xcode not available in local
apple-id-password: ${{ secrets.APPLE_ID_PASSWORD }}
- run: fastlane scan
```

# License

The scripts and documentation in this project are released under the [MIT License](LICENSE)

# Contributions

Contributions are welcome! See [Contributor's Guide](CONTRIBUTING.md)