diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index c5a5862..f2c9190 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -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. @@ -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: |