1
0
Fork 0
mirror of https://code.forgejo.org/actions/download-artifact synced 2025-07-08 11:16:00 +02:00

Update tests again

This commit is contained in:
Konrad Pabjan 2020-02-20 17:17:22 -05:00
parent a3a977a1d6
commit 32e9693460

View file

@ -97,11 +97,11 @@ jobs:
run: |
$fileA = "some/other/path/Artifact-A/world-A.txt"
$fileB = "some/other/path/Artifact-B/world-B.txt"
if(!(Test-Path -path $fileA) || !(Test-Path -path $fileB))
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "hello?") || !((Get-Content $fileB) -ceq "Hello!!"))
if(!((Get-Content $fileA) -ceq "hello?") -or !((Get-Content $fileB) -ceq "Hello!!"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}