mirror of
				https://hub.gitmirror.com/https://github.com/gradle/gradle-build-action
				synced 2025-10-28 08:30:07 +08:00 
			
		
		
		
	Split dev/prod CI workflows
This commit is contained in:
		
							parent
							
								
									469bf6123e
								
							
						
					
					
						commit
						8f6be44bf5
					
				| @ -1,17 +1,11 @@ | ||||
| name: ci | ||||
| name: dev | ||||
| 
 | ||||
| on: | ||||
|   pull_request: | ||||
|   push: | ||||
| 
 | ||||
| jobs: | ||||
|   build: # make sure build/ci work properly | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v2 | ||||
|     - run: | | ||||
|         npm install | ||||
|         npm run all | ||||
|   test: # make sure the action works on a clean machine without building | ||||
|   check: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v2 | ||||
							
								
								
									
										19
									
								
								.github/workflows/prod.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/prod.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | ||||
|  # make sure the action works on a clean machine without building | ||||
| name: prod | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
|       - 'releases/*' | ||||
| 
 | ||||
| jobs: | ||||
|   check: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v2 | ||||
|     - uses: ./ | ||||
|       with: | ||||
|         wrapper-directory: __tests__/data/basic | ||||
|         build-root-directory: __tests__/data/basic | ||||
|         arguments: help | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Paul Merlin
						Paul Merlin