Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxim-lobanov/setup-xamarin
Set up your GitHub Actions workflow with a specific version of Xamarin & Mono
https://github.com/maxim-lobanov/setup-xamarin
Last synced: about 2 months ago
JSON representation
Set up your GitHub Actions workflow with a specific version of Xamarin & Mono
- Host: GitHub
- URL: https://github.com/maxim-lobanov/setup-xamarin
- Owner: maxim-lobanov
- License: mit
- Created: 2020-03-08T10:56:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:40:13.000Z (about 2 years ago)
- Last Synced: 2024-11-10T03:04:03.384Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 494 KB
- Stars: 34
- Watchers: 3
- Forks: 6
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actions - Setup Xamarin - Switch between pre-installed versions of Xamarin and Mono for macOS images. (Community Resources / Utility)
- fucking-awesome-actions - Setup Xamarin - Switch between pre-installed versions of Xamarin and Mono for macOS images. (Community Resources / Utility)
- awesome-workflows - Setup Xamarin - Switch between pre-installed versions of Xamarin and Mono for macOS images. (Community Resources / Utility)
README
# setup-xamarin
This action is intended to switch between pre-installed versions of Xamarin and Mono for macOS images in GitHub Actions.# Available parameters
| Argument | Required | Description | Available versions |
|-------------------------|----------|-----------------------------------------------------------|--------------------|
| mono-version | False | Specify the version of Mono to switch | [Link](https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md#mono) |
| xamarin-ios-version | False | Specify the version of Xamarin.iOS to switch | [Link](https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md#xamarinios) |
| xamarin-mac-version | False | Specify the version of Xamarin.Mac to switch | [Link](https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md#xamarinmac) |
| xamarin-android-version | False | Specify the version of Xamarin.Android to switch | [Link](https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md#xamarinandroid) |
| xcode-version | False | Specify the Xcode to use with Xamarin.iOS and Xamarin.Mac | [Link](https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md#xcode) |- `mono-version`, `xamarin-ios-version`, `xamarin-mac-version`, `xamarin-android-version` parameters support the following format: `latest`, `13`, `13.2`, `13.2.1.4`
- `xcode-version` parameter supports the following format: `latest`, `11.4`, `11.x`, `11.2.1`
**Note:** If you need to switch Xcode only without Xamarin - please consider using [maxim-lobanov/setup-xcode](https://github.com/maxim-lobanov/setup-xcode) actions since it provides more comfortable way to specify Xcode.# Usage
```
name: CI
on: [push]
jobs:
build:
name: Setup Xamarin and Mono versions
runs-on: macos-latest
steps:
- name: setup-xamarin
uses: maxim-lobanov/setup-xamarin@v1
with:
mono-version: '6.6' # specify version in '.' format
xamarin-ios-version: '13' # specify version in '' format
xamarin-mac-version: latest # specify 'latest' keyword to pick up the latest available version
xamarin-android-version: '10.1.3.7' # specify full version; it is not recomended option because your pipeline can be broken suddenly in future
xcode-version: '11.x' # set the latest available Xcode 11
```# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)