Update test.yml

This commit is contained in:
Austin Sasko 2022-03-18 17:46:29 -04:00 committed by GitHub
parent 1c317c8eb6
commit 36cf293611
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,21 +118,6 @@ jobs:
- run: ls -lR some
- name: Verify successful download
run: |
$fileA = "some/other/pathgz/Artifact-A"
$fileB = "some/other/pathgz/Artifact-B"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
# Test downloading a single artifact
- name: Download artifact A
uses: ./