Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

name: Build Xamarin.Android app
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- 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: '5.0.x'
- name: Install dependencies
run: nuget restore 'DdfGuide.sln'
- name: Build
run: msbuild '/DdfGuide.Android/DdfGuide.Android.csproj' /t:PackageForAndroid /p:Configuration=Debug