Skip to content

Releases: maxim-lobanov/setup-xamarin

Bump dependabot dependencies

02 Apr 18:43
00b44a3
Compare
Choose a tag to compare

No much changes in this release. Just resolved a few alerts from dependabot: #11 , #9

Update @actions/core to 1.2.6

10 Oct 09:59
00b44a3
Compare
Choose a tag to compare

Update @actions/core to 1.2.6

03 Dec 08:26
Compare
Choose a tag to compare

Add `xcode-version` property to specify Xcode version that will be used by Xamarin.iOS and Xamarin.Mac

21 Mar 15:57
Compare
Choose a tag to compare

setup-xamarin

This action is intended to switch between pre-installed versions of Xamarin and Mono for macOS images in GitHub Actions.

Available parameters

Parameter name Required Description Available versions
mono-version False Specify the version of Mono to switch Link
xamarin-ios-version False Specify the version of Xamarin.iOS to switch Link
xamarin-mac-version False Specify the version of Xamarin.Mac to switch Link
xamarin-android-version False Specify the version of Xamarin.Android to switch Link
xcode-version False Specify the Xcode to use with Xamarin.iOS and Xamarin.Mac Link
  • 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

Usage

name: CI
on: [push]
jobs:
  build:
    name: Setup Xamarin and Mono versions
    runs-on: macos-latest
    steps:
    - name: setup-xamarin
      uses: maxim-lobanov/[email protected]
      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
        xcode-version: 11.x # set the latest available Xcode 11

License

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

First release of "setup-xamarin" task

15 Mar 17:48
Compare
Choose a tag to compare

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