mirror of
				https://github.com/actions/download-artifact.git
				synced 2025-11-04 09:33:40 +00:00 
			
		
		
		
	Update tests again
This commit is contained in:
		
							parent
							
								
									a3a977a1d6
								
							
						
					
					
						commit
						32e9693460
					
				
							
								
								
									
										4
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							@ -97,11 +97,11 @@ jobs:
 | 
				
			|||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        $fileA = "some/other/path/Artifact-A/world-A.txt"
 | 
					        $fileA = "some/other/path/Artifact-A/world-A.txt"
 | 
				
			||||||
        $fileB = "some/other/path/Artifact-B/world-B.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"
 | 
					            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"
 | 
					            Write-Error "File contents of downloaded artifacts are incorrect"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user