mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 16:13:36 +00:00 
			
		
		
		
	Merge 6415596e8d64a0b6edcd8a8ea07365ba1a6cf867 into 1d96c772d19495a3b5c517cd2bc0cb401ea0529f
This commit is contained in:
		
						commit
						1ddd9495f5
					
				
							
								
								
									
										3
									
								
								.github/workflows/check-dist.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/check-dist.yml
									
									
									
									
										vendored
									
									
								
							| @ -36,6 +36,7 @@ jobs: | ||||
|         run: npm run build | ||||
| 
 | ||||
|       - name: Compare the expected and actual dist/ directories | ||||
|         id: diff | ||||
|         run: | | ||||
|           if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then | ||||
|             echo "Detected uncommitted changes after build.  See status below:" | ||||
| @ -44,7 +45,7 @@ jobs: | ||||
|           fi | ||||
| 
 | ||||
|       # If dist/ was different than expected, upload the expected version as an artifact | ||||
|       - uses: actions/upload-artifact@v2 | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|         if: ${{ failure() && steps.diff.conclusion == 'failure' }} | ||||
|         with: | ||||
|           name: dist | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user