Add individual build checks for master and not-master branches
This commit is contained in:
		
							parent
							
								
									aee6e49b1f
								
							
						
					
					
						commit
						9d61454858
					
				
							
								
								
									
										5
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,6 +1,9 @@ | |||||||
| name: Build | name: Build | ||||||
| 
 | 
 | ||||||
| on: push | on: | ||||||
|  |   push: | ||||||
|  |     branches: | ||||||
|  |       - master | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   build: |   build: | ||||||
|  | |||||||
							
								
								
									
										20
									
								
								.github/workflows/build_others.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/build_others.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | |||||||
|  | name: Other build checks | ||||||
|  | 
 | ||||||
|  | on: | ||||||
|  |   push: | ||||||
|  |     branches: | ||||||
|  |       - '!master' | ||||||
|  | 
 | ||||||
|  | jobs: | ||||||
|  |   build: | ||||||
|  | 
 | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  | 
 | ||||||
|  |     steps: | ||||||
|  |       - uses: actions/checkout@v1 | ||||||
|  |       - name: set up JDK 1.8 | ||||||
|  |         uses: actions/setup-java@v1 | ||||||
|  |         with: | ||||||
|  |           java-version: 1.8 | ||||||
|  |       - name: Build with Gradle | ||||||
|  |         run: ./gradlew build | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dimitry Ivanov
						Dimitry Ivanov