mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 23:43:35 +00:00 
			
		
		
		
	Upload the whole dist/ directory as an artifact
This commit is contained in:
		
							parent
							
								
									ffb7396e8e
								
							
						
					
					
						commit
						e96a2a2fa3
					
				
							
								
								
									
										6
									
								
								.github/workflows/check-dist.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/check-dist.yml
									
									
									
									
										vendored
									
									
								
							| @ -43,9 +43,9 @@ jobs: | ||||
|             exit 1 | ||||
|           fi | ||||
| 
 | ||||
|       # If index.js was different than expected, upload the expected version as an artifact | ||||
|       # If dist/ was different than expected, upload the expected version as an artifact | ||||
|       - uses: actions/upload-artifact@v2 | ||||
|         if: ${{ failure() && steps.diff.conclusion == 'failure' }} | ||||
|         with: | ||||
|           name: index.js | ||||
|           path: dist/index.js | ||||
|           name: dist | ||||
|           path: dist/ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user