Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Setup Xamarin

Actions
Set up your GitHub Actions workflow with a specific version of Xamarin Mono
v1.0
Star (34)

Tags

 (1)

setup-xamarin

This action is intended to switch between pre-installed versions Xamarin & Mono on macos-10.15 image in GitHub Actions.
The list of available versions can be found in virtual-environments repository.

Available parameters

Argument Required Description
mono-version False Specify the version of Mono to switch
xamarin-ios-version False Specify the version of Xamarin.iOS to switch
xamarin-mac-version False Specify the version of Xamarin.Mac to switch
xamarin-android-version False Specify the version of Xamarin.Android to switch

All fields support the following format: latest, 13, 13.2, 13.2.1.4

Usage

name: CI
on: [push]
jobs:
  build:
    name: valid versions (should pass)
    runs-on: macos-latest
    steps:
    - name: Checkout
      uses: actions/checkout@master

    - name: setup-xamarin
      uses: maxim-lobanov/setup-xamarin
      with:
        mono-version: 6.6 # specify version in '<major>.<minor>' format
        xamarin-ios-version: 13 # specify version in '<major>' 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

License

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

Setup Xamarin is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Set up your GitHub Actions workflow with a specific version of Xamarin Mono
v1.0

Tags

 (1)

Setup Xamarin is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.