Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
adding build for installer.
  • Loading branch information
tulleuchen authored Nov 22, 2023
1 parent 6d97d6d commit 7b2e850
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:

env:
Solution_Name: StopWatch.sln # Replace with your solution name, i.e. MyWpfApp.sln.
Solution_Name_install: StopWatchSetup.sln # Replace with your solution name for install, i.e. MyWpfApp.sln.
Test_Project_Path: source/StopWatchTest # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj.
# Wap_Project_Directory: your-wap-project-directory-name # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package.
# Wap_Project_Path: your-wap-project-path # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj.
Expand Down Expand Up @@ -86,6 +87,12 @@ jobs:
env:
Configuration: ${{ matrix.configuration }}

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the installer application
run: msbuild $env:Solution_Name_install /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}

# # Decode the base 64 encoded pfx and save the Signing_Certificate
# - name: Decode the pfx
# run: |
Expand Down

0 comments on commit 7b2e850

Please sign in to comment.