update xamarin sdk versions #3
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: Build Xamarin.Android app | |
on: [push] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set default Xamarin SDK versions | |
run: | | |
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=10.2 | |
- name: Setup .NET Core SDK 7.0.x | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Install dependencies | |
run: nuget restore ${{github.workspace}}/src/MarvelHeroes.sln | |
- name: Build | |
run: msbuild ${{github.workspace}}/src/MarvelHeroes/MarvelHeroes.Android.csproj /t:PackageForAndroid /p:Configuration=Debug |