This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
Bump Xamarin.UITest from 4.3.2 to 4.3.3 in /Source (#191) #58
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/setup-msbuild@v1.1 | |
- 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/setup-msbuild@v1.1 | |
- name: Build UI Test App | |
run: | | |
msbuild ./Source/FaceOff.UITests/FaceOff.UITests.csproj /verbosity:normal /p:Configuration=Debug |