workflows: build-gluon: avoid failure when no path filter matches
The CI should be successful when there is nothing to check. Add if condition as proposed in [1]. [1] https://github.com/dorny/paths-filter/issues/66#issuecomment-778267385
This commit is contained in:
		
							parent
							
								
									83808221d7
								
							
						
					
					
						commit
						d8aca7f211
					
				
							
								
								
									
										1
									
								
								.github/workflows/build-gluon.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/build-gluon.yml
									
									
									
									
										vendored
									
									
								
							| @ -24,6 +24,7 @@ jobs: | |||||||
| 
 | 
 | ||||||
|   build_firmware: |   build_firmware: | ||||||
|     needs: changed |     needs: changed | ||||||
|  |     if: ${{ needs.changed.outputs.targets != '[]' && needs.changed.outputs.targets != '' }} | ||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user