mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 05:58:40 +08: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
 | 
					            exit 1
 | 
				
			||||||
          fi
 | 
					          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
 | 
					      - uses: actions/upload-artifact@v2
 | 
				
			||||||
        if: ${{ failure() && steps.diff.conclusion == 'failure' }}
 | 
					        if: ${{ failure() && steps.diff.conclusion == 'failure' }}
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: index.js
 | 
					          name: dist
 | 
				
			||||||
          path: dist/index.js
 | 
					          path: dist/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user