From b3c1865668702d13b4f60a29710451d7c16c458e Mon Sep 17 00:00:00 2001 From: Benjamin Gebauer Date: Wed, 31 May 2023 13:02:29 +0200 Subject: [PATCH] try to upload only if create step has finished --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9227ec4..0b0c451 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,10 +19,12 @@ jobs: # shell: pwsh # run: Test-Path $Env:GITHUB_WORKSPACE/test.ps1 | Should -Be $true - name: Create msi from PowerShell Script + id: create shell: pwsh run: | "$env:GITHUB_WORKSPACE/test1.ps1" - name: Upload artifacts + if: steps.create.outcome == 'success' uses: actions/upload-artifact@v3 with: name: installer