mirror of
				https://gitea.com/actions/download-artifact.git
				synced 2025-10-31 00:58:16 +07:00 
			
		
		
		
	Make work as intended
This commit is contained in:
		
							parent
							
								
									7797bfcd59
								
							
						
					
					
						commit
						56c2d7ea8c
					
				
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -118782,7 +118782,7 @@ function run() { | |||||||
|             for (let i = 0; i < results.length; i++) { |             for (let i = 0; i < results.length; i++) { | ||||||
|                 const outcome = results[i]; |                 const outcome = results[i]; | ||||||
|                 const artifactName = chunk[i].name; |                 const artifactName = chunk[i].name; | ||||||
|                 if (!outcome.digestMismatch) { |                 if (outcome.digestMismatch) { | ||||||
|                     core.warning(`Artifact '${artifactName}' digest validation failed. Please verify the integrity of the artifact.`); |                     core.warning(`Artifact '${artifactName}' digest validation failed. Please verify the integrity of the artifact.`); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  | |||||||
| @ -132,7 +132,7 @@ async function run(): Promise<void> { | |||||||
|       const outcome = results[i] |       const outcome = results[i] | ||||||
|       const artifactName = chunk[i].name |       const artifactName = chunk[i].name | ||||||
| 
 | 
 | ||||||
|       if (!outcome.digestMismatch) { |       if (outcome.digestMismatch) { | ||||||
|         core.warning( |         core.warning( | ||||||
|           `Artifact '${artifactName}' digest validation failed. Please verify the integrity of the artifact.` |           `Artifact '${artifactName}' digest validation failed. Please verify the integrity of the artifact.` | ||||||
|         ) |         ) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user