Update test.yml workflow
parent
215ab44d34
commit
77aa5ad6e4
|
@ -128,3 +128,15 @@ jobs:
|
||||||
Write-Error "File contents of downloaded artifacts are incorrect"
|
Write-Error "File contents of downloaded artifacts are incorrect"
|
||||||
}
|
}
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
|
- name: Download non-existent Artifact
|
||||||
|
id: not-existent-artifact
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
name: Artifact-C-${{ matrix.runs-on }}
|
||||||
|
allow-not-found: true
|
||||||
|
|
||||||
|
- name: Verify empty download-path output
|
||||||
|
if: ${{ steps.not-existent-artifact.outputs.download-path != '' }}
|
||||||
|
run: |
|
||||||
|
Write-Error "Expected download-path output is not empty"
|
||||||
|
|
Loading…
Reference in New Issue