Merge pull request #19 from Ledrunning/Dev #13
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: .NET Desktop | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Chocolatey | |
run: | | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
- name: Install .NET Framework 4.8 with Chocolatey | |
run: choco install netfx-4.8 -y | |
- name: Setup MSBuild | |
uses: microsoft/[email protected] | |
- name: Restore NuGet packages | |
run: nuget restore FaceDetectionApp.sln | |
- name: Build solution | |
run: msbuild FaceDetectionApp.sln /p:Configuration=Release |