diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index bb1db24..f3760a1 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - configuration: [ Release ] + configuration: [ Debug, Release ] runs-on: windows-latest @@ -31,12 +31,9 @@ jobs: with: dotnet-version: 6.0.x - # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild - - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v1.0.2 # Restore the application to populate the obj folder with RuntimeIdentifiers - - name: Restore the application - run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration + - name: Build the application + run: dotnet build $env:Solution_Name /c $env:Configuration env: Configuration: ${{ matrix.configuration }}