From b6185dec1b902c75abd20f8a60df3eeebe09df5d Mon Sep 17 00:00:00 2001 From: Gerrit Date: Wed, 31 May 2023 13:52:10 +0200 Subject: [PATCH] Fix call of powershell script --- .github/workflows/build.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a36d5e..21db7a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,15 +29,14 @@ jobs: - name: Build solution run: msbuild $env:solution /t:Rebuild /p:Configuration=$env:configuration - name: Create msi from PowerShell Script - run: | - "$Env:GITHUB_WORKSPACE\create_msi.ps1" - - name: Upload installer artifact - uses: actions/upload-artifact@v3 - with: - name: installer - path: ./AmagnoPrinterInstaller.msi + run: pwsh -command ".\$GITHUB_WORKSPACE\create_msi.ps1" - name: Upload files artifact uses: actions/upload-artifact@v3 with: name: files path: files/**/* + - name: Upload installer artifact + uses: actions/upload-artifact@v3 + with: + name: installer + path: ./AmagnoPrinterInstaller.msi