mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 13:58:09 +08:00 
			
		
		
		
	add input persist-credentials (#107)
This commit is contained in:
		
							
								
								
									
										10
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -18,6 +18,7 @@ jobs: | ||||
|       - run: npm run lint | ||||
|       - run: npm run pack | ||||
|       - run: npm run gendocs | ||||
|       - run: npm test | ||||
|       - name: Verify no unstaged changes | ||||
|         run: __test__/verify-no-unstaged-changes.sh | ||||
|  | ||||
| @@ -84,15 +85,12 @@ jobs: | ||||
|  | ||||
|   test-job-container: | ||||
|     runs-on: ubuntu-latest | ||||
|     container: pstauffer/curl:latest | ||||
|     container: alpine:latest | ||||
|     steps: | ||||
|       # Clone this repo | ||||
|       # todo: after v2-beta contains the latest changes, switch this to "uses: actions/checkout@v2-beta". Also switch to "alpine:latest" | ||||
|       # todo: after v2-beta contains the latest changes, switch this to "uses: actions/checkout@v2-beta" | ||||
|       - name: Checkout | ||||
|         run: | | ||||
|           curl --location --user token:${{ github.token }} --output checkout.tar.gz https://api.github.com/repos/actions/checkout/tarball/${{ github.sha }} | ||||
|           tar -xzf checkout.tar.gz | ||||
|           mv */* ./ | ||||
|         uses: actions/checkout@a572f640b07e96fc5837b3adfa0e5a2ddd8dae21 | ||||
|  | ||||
|       # Basic checkout | ||||
|       - name: Basic checkout | ||||
|   | ||||
		Reference in New Issue
	
	Block a user