mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 03:04:00 +08:00 
			
		
		
		
	fallback to REST API to download repo
This commit is contained in:
		
							
								
								
									
										81
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										81
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -6,6 +6,7 @@ on: | ||||
|     branches: | ||||
|       - master | ||||
|       - releases/* | ||||
|       - users/ericsciple/* | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
| @@ -38,46 +39,46 @@ jobs: | ||||
|         with: | ||||
|           ref: test-data/v2/basic | ||||
|           path: basic | ||||
|       - name: Verify basic | ||||
|         shell: bash | ||||
|         run: __test__/verify-basic.sh | ||||
|       # - name: Verify basic | ||||
|       #   shell: bash | ||||
|       #   run: __test__/verify-basic.sh | ||||
|  | ||||
|       # Clean | ||||
|       - name: Modify work tree | ||||
|         shell: bash | ||||
|         run: __test__/modify-work-tree.sh | ||||
|       - name: Clean checkout | ||||
|         uses: ./ | ||||
|         with: | ||||
|           ref: test-data/v2/basic | ||||
|           path: basic | ||||
|       - name: Verify clean | ||||
|         shell: bash | ||||
|         run: __test__/verify-clean.sh | ||||
|       # # Clean | ||||
|       # - name: Modify work tree | ||||
|       #   shell: bash | ||||
|       #   run: __test__/modify-work-tree.sh | ||||
|       # - name: Clean checkout | ||||
|       #   uses: ./ | ||||
|       #   with: | ||||
|       #     ref: test-data/v2/basic | ||||
|       #     path: basic | ||||
|       # - name: Verify clean | ||||
|       #   shell: bash | ||||
|       #   run: __test__/verify-clean.sh | ||||
|  | ||||
|       # Side by side | ||||
|       - name: Side by side checkout 1 | ||||
|         uses: ./ | ||||
|         with: | ||||
|           ref: test-data/v2/side-by-side-1 | ||||
|           path: side-by-side-1 | ||||
|       - name: Side by side checkout 2 | ||||
|         uses: ./ | ||||
|         with: | ||||
|           ref: test-data/v2/side-by-side-2 | ||||
|           path: side-by-side-2 | ||||
|       - name: Verify side by side | ||||
|         shell: bash | ||||
|         run: __test__/verify-side-by-side.sh | ||||
|       # # Side by side | ||||
|       # - name: Side by side checkout 1 | ||||
|       #   uses: ./ | ||||
|       #   with: | ||||
|       #     ref: test-data/v2/side-by-side-1 | ||||
|       #     path: side-by-side-1 | ||||
|       # - name: Side by side checkout 2 | ||||
|       #   uses: ./ | ||||
|       #   with: | ||||
|       #     ref: test-data/v2/side-by-side-2 | ||||
|       #     path: side-by-side-2 | ||||
|       # - name: Verify side by side | ||||
|       #   shell: bash | ||||
|       #   run: __test__/verify-side-by-side.sh | ||||
|  | ||||
|       # LFS | ||||
|       - name: LFS checkout | ||||
|         uses: ./ | ||||
|         with: | ||||
|           repository: actions/checkout # hardcoded, otherwise doesn't work from a fork | ||||
|           ref: test-data/v2/lfs | ||||
|           path: lfs | ||||
|           lfs: true | ||||
|       - name: Verify LFS | ||||
|         shell: bash | ||||
|         run: __test__/verify-lfs.sh | ||||
|       # # LFS | ||||
|       # - name: LFS checkout | ||||
|       #   uses: ./ | ||||
|       #   with: | ||||
|       #     repository: actions/checkout # hardcoded, otherwise doesn't work from a fork | ||||
|       #     ref: test-data/v2/lfs | ||||
|       #     path: lfs | ||||
|       #     lfs: true | ||||
|       # - name: Verify LFS | ||||
|       #   shell: bash | ||||
|       #   run: __test__/verify-lfs.sh | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 eric sciple
					eric sciple