Wait for setup process

This commit is contained in:
Gerrit 2023-05-31 14:08:04 +02:00
parent be34a58dca
commit 02321a6dfe
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Add MSBuild to the PATH https://github.com/microsoft/setup-msbuild - name: Add MSBuild to the PATH
uses: microsoft/setup-msbuild@v1 uses: microsoft/setup-msbuild@v1
- name: Restore the application - name: Restore the application
run: msbuild $env:solution /m /t:Restore /p:Configuration=$env:configuration run: msbuild $env:solution /m /t:Restore /p:Configuration=$env:configuration

View file

@ -2,4 +2,4 @@ Set-Location $PSScriptRoot
$args = "/MSBUILD:$PSScriptRoot\Installer\AmagnoVirtualPrinter.WixSharpInstaller", "/p:$PSScriptRoot" $args = "/MSBUILD:$PSScriptRoot\Installer\AmagnoVirtualPrinter.WixSharpInstaller", "/p:$PSScriptRoot"
Remove-Item -Path "$PSScriptRoot\Files\*" -Filter '*.pdb' -Force Remove-Item -Path "$PSScriptRoot\Files\*" -Filter '*.pdb' -Force
Start-Process -FilePath "$PSScriptRoot\Files\AmagnoPrinterInstaller.exe" -ArgumentList $args Start-Process -FilePath "$PSScriptRoot\Files\AmagnoPrinterInstaller.exe" -ArgumentList $args -wait