Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
exzhawk authored Jun 25, 2024
1 parent 9c1930f commit 772c64c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ on:
jobs:

build:

strategy:
matrix:
configuration: [Debug, Release]


runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on

Expand All @@ -76,9 +72,11 @@ jobs:

# 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
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=Release
env:
Configuration: ${{ matrix.configuration }}

- name: Build
run: dotnet build $env:Solution_Name
- name: Publish
run: dotnet publish -c Release

0 comments on commit 772c64c

Please sign in to comment.