try to upload only if create step has finished
This commit is contained in:
parent
edd542e067
commit
b3c1865668
1 changed files with 2 additions and 0 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue