mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 10:08:37 +08:00 
			
		
		
		
	Add missing id of diff step for check-dist workflow
This commit is contained in:
		
							parent
							
								
									72f2cec99f
								
							
						
					
					
						commit
						a7b2cc8d14
					
				
							
								
								
									
										1
									
								
								.github/workflows/check-dist.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/check-dist.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -36,6 +36,7 @@ jobs: | ||||||
|         run: npm run build |         run: npm run build | ||||||
| 
 | 
 | ||||||
|       - name: Compare the expected and actual dist/ directories |       - name: Compare the expected and actual dist/ directories | ||||||
|  |         id: diff | ||||||
|         run: | |         run: | | ||||||
|           if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then |           if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then | ||||||
|             echo "Detected uncommitted changes after build.  See status below:" |             echo "Detected uncommitted changes after build.  See status below:" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 islishude
						islishude