Bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 #187
Workflow file for this run
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: Xamarin | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
BuildAndroidApp: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET v6.0 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Restore NuGet | |
run: | | |
nuget restore | |
- name: Build Android App | |
run: | | |
AndroidProject=`find . -name AsyncCommandSample.Android.csproj` | |
echo $AndroidProject | |
msbuild $AndroidProject /verbosity:normal /p:Configuration=Release | |
RunUnitTests: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET v3.1 + v7.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
3.1.x | |
7.0.x | |
- name: Run Unit Tests | |
run: | | |
UnitTestProject=`find . -name AsyncCommandSample.UnitTests.csproj` | |
echo $UnitTestProject | |
dotnet test -c Release $UnitTestProject |