Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FANMixco authored Jun 9, 2024
1 parent 1d88bb4 commit 9da845a
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,29 @@ name: .NET

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

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.12' # specify version in '<major>.<minor>' format
xamarin-android-version: '12.0.0.3' # specify full version; it is not recomended option because your pipeline can be broken suddenly in future
- 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

0 comments on commit 9da845a

Please # to comment.