Skip to content

Bump Xamarin.Essentials from 1.7.7 to 1.8.0 in /Source #12

Bump Xamarin.Essentials from 1.7.7 to 1.8.0 in /Source

Bump Xamarin.Essentials from 1.7.7 to 1.8.0 in /Source #12

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_Windows:
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 Windows App
run: |
msbuild ./Source/FaceOff.UWP/FaceOff.UWP.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=Release