diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cf4991b..b5802b4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,21 +5,21 @@ on: [push] jobs: build: - runs-on: ubuntu-latest + runs-on: macos-latest steps: - uses: actions/checkout@v3 - - name: Setup .NET + - name: Set default Xamarin SDK versions + run: | + $VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.10 --android=10.2 + + - name: Setup .NET Core SDK 5.0.x uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x - - name: Install boots tool - run: dotnet tool install --global boots - - name: Install xamarin depdencies - run: boots - - name: Restore dependencies - run: dotnet restore + dotnet-version: '5.0.x' + + - name: Install dependencies + run: nuget restore + - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal + run: msbuild /t:PackageForAndroid /p:Configuration=Debug