Skip to content

Bump NUnit from 3.14.0 to 4.0.0 in /Source #52

Bump NUnit from 3.14.0 to 4.0.0 in /Source

Bump NUnit from 3.14.0 to 4.0.0 in /Source #52

Workflow file for this run

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