Bump Xamarin.Essentials from 1.8.0 to 1.8.1 in /Source #56
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: | |
Build_Android: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Remove API Key Errors | |
run: '(get-content .\Source\FaceOff\Constants\CognitiveServicesConstants.cs) | Foreach-Object {$_ -replace "#error","//#error"} | set-content .\Source\FaceOff\Constants\CognitiveServicesConstants.cs' | |
shell: powershell | |
- name: Setup .NET 3.1 + .NET v6.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
3.1.x | |
- name: Restore NuGet | |
run: | | |
nuget restore ./Source | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Build Android App | |
run: | | |
msbuild ./Source/FaceOff.Droid/FaceOff.Droid.csproj /verbosity:normal /p:Configuration=Release | |
Build_UITest: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Remove API Key Errors | |
run: '(get-content .\Source\FaceOff\Constants\CognitiveServicesConstants.cs) | Foreach-Object {$_ -replace "#error","//#error"} | set-content .\Source\FaceOff\Constants\CognitiveServicesConstants.cs' | |
shell: powershell | |
- name: Setup .NET 3.1 + .NET v6.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
3.1.x | |
- name: Restore NuGet | |
run: | | |
nuget restore ./Source | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Build UI Test App | |
run: | | |
msbuild ./Source/FaceOff.UITests/FaceOff.UITests.csproj /verbosity:normal /p:Configuration=Debug |