Skip to content

Update dotnet-desktop.yml #8

Update dotnet-desktop.yml

Update dotnet-desktop.yml #8

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: |
nuget restore $env:Solution_Name -PackagesDirectory $env:UserProfile\.nuget\packages
ls -R $env:UserProfile\.nuget\packages
env:

Check failure on line 33 in .github/workflows/dotnet-desktop.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dotnet-desktop.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
Configuration: ${{ matrix.configuration }}
- name: Build the application
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}