Skip to content

Update dotnet-desktop.yml #7

Update dotnet-desktop.yml

Update dotnet-desktop.yml #7

name: .NET Desktop
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest
env:
Solution_Name: FaceDetectionApp.sln
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install .NET Framework
uses: microsoft/[email protected]
- name: Restore NuGet packages
run: dotnet restore $env:Solution_Name
env:
Configuration: ${{ matrix.configuration }}
- name: Build the application
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: List packages folder
run: |
ls -R $env:UserProfile\.nuget\packages