mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 10:08:37 +08:00 
			
		
		
		
	Update test.yml
This commit is contained in:
		
							parent
							
								
									8d0a1fc65f
								
							
						
					
					
						commit
						590cf525af
					
				
							
								
								
									
										15
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -2,7 +2,6 @@ name: Build and Test | ||||||
| 
 | 
 | ||||||
| on: | on: | ||||||
|   pull_request: |   pull_request: | ||||||
|   push: |  | ||||||
|     branches: |     branches: | ||||||
|       - master |       - master | ||||||
|       - releases/* |       - releases/* | ||||||
|  | @ -12,17 +11,5 @@ jobs: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v2-beta |       - uses: actions/checkout@v2-beta | ||||||
| 
 |  | ||||||
|       # Basic checkout |  | ||||||
|       - name: Basic checkout |  | ||||||
|         id: foo |  | ||||||
|         uses: ./ |  | ||||||
|         with: |         with: | ||||||
|           repository: actions/checkout |           ref: ${{ github.event.pull_request.head.sha }} | ||||||
|           ref: test-data/v2/basic |  | ||||||
|           path: basic |  | ||||||
| 
 |  | ||||||
|       - run: | |  | ||||||
|           echo bar is "${{ steps.foo.outputs.bar }}" |  | ||||||
|         env: |  | ||||||
|           bar: ${{ toJson(github.event) }} |  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 eric sciple
						eric sciple