Update dotnet.yml #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
name: Setup Xamarin and Mono versions | |
runs-on: macos-latest | |
steps: | |
- name: Install Mono | |
run: brew install mono | |
# You can replace 'brew install mono' with the appropriate installation method for Mono on macOS. | |
- name: Install Xamarin.Android | |
run: brew install --cask xamarin-android | |
# Replace with the correct installation command for Xamarin.Android. | |
- name: Set Xamarin.iOS version | |
run: sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 13.0.0.47 | |
# Replace '13.0.0.47' with the desired Xamarin.iOS version. | |
- name: Set Xamarin.Mac version | |
run: sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 6.12.0.140 | |
# Replace '6.12.0.140' with the desired Xamarin.Mac version. | |
# Add your build and test steps here |