Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ledrunning authored Feb 4, 2024
1 parent 69be1ea commit 20528df
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,12 @@ jobs:
- name: Install .NET Framework
uses: microsoft/[email protected]

- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
- 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: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: Compiled Artifacts
path: |
Path\To\Your\Project\bin\${{ matrix.configuration }}

0 comments on commit 20528df

Please sign in to comment.