mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 18:18:37 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			492 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			492 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Build and Test
 | |
| 
 | |
| on:
 | |
|   pull_request:
 | |
|   push:
 | |
|     branches:
 | |
|       - master
 | |
|       - releases/*
 | |
|       - users/ericsciple/m162testing
 | |
| 
 | |
| jobs:
 | |
|   build:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - uses: actions/checkout@v2-beta
 | |
| 
 | |
|       # Basic checkout
 | |
|       - name: Basic checkout
 | |
|         id: foo
 | |
|         uses: ./
 | |
|         with:
 | |
|           repository: actions/checkout
 | |
|           ref: test-data/v2/basic
 | |
|           path: basic
 | |
| 
 | |
|       - run: echo foo.outputs.bar is '${{ steps.foo.outputs.bar }}'
 | 
