mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 05:58:40 +08:00 
			
		
		
		
	Determine path to git runtime
This commit is contained in:
		
							parent
							
								
									9af61b077f
								
							
						
					
					
						commit
						7aa0640182
					
				
							
								
								
									
										34
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										34
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -187,6 +187,14 @@ jobs:
 | 
				
			||||||
      - name: Verify basic
 | 
					      - name: Verify basic
 | 
				
			||||||
        run: __test__/verify-basic.sh --archive
 | 
					        run: __test__/verify-basic.sh --archive
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  inspect:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Inspect Git Version
 | 
				
			||||||
 | 
					        run:  |
 | 
				
			||||||
 | 
					          which git
 | 
				
			||||||
 | 
					          git --version
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  test-proxy:
 | 
					  test-proxy:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    container:
 | 
					    container:
 | 
				
			||||||
| 
						 | 
					@ -200,18 +208,18 @@ jobs:
 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
      https_proxy: http://squid-proxy:3128
 | 
					      https_proxy: http://squid-proxy:3128
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Install Git
 | 
					      # - name: Install Git
 | 
				
			||||||
        env:
 | 
					      #   env:
 | 
				
			||||||
          https_proxy: ""  # Disable https_proxy for this single step
 | 
					      #     https_proxy: ""  # Disable https_proxy for this single step
 | 
				
			||||||
          http_proxy: ""
 | 
					      #     http_proxy: ""
 | 
				
			||||||
        run: |
 | 
					      #   run: |
 | 
				
			||||||
          apt-get clean
 | 
					      #     apt-get clean
 | 
				
			||||||
          apt-get upgrade
 | 
					      #     apt-get upgrade
 | 
				
			||||||
          apt-get update
 | 
					      #     apt-get update
 | 
				
			||||||
          # apt-get install software-properties-common
 | 
					      #     # apt-get install software-properties-common
 | 
				
			||||||
          # add-apt-repository ppa:git-core/ppa
 | 
					      #     # add-apt-repository ppa:git-core/ppa
 | 
				
			||||||
          # apt-get update
 | 
					      #     # apt-get update
 | 
				
			||||||
          apt-get install git    
 | 
					      #     apt-get install git    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Clone this repo
 | 
					      # Clone this repo
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
| 
						 | 
					@ -223,8 +231,6 @@ jobs:
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          ref: test-data/v2/basic
 | 
					          ref: test-data/v2/basic
 | 
				
			||||||
          path: basic
 | 
					          path: basic
 | 
				
			||||||
      - name: Inspect Git Version
 | 
					 | 
				
			||||||
        run:  git --version
 | 
					 | 
				
			||||||
      - name: Verify basic
 | 
					      - name: Verify basic
 | 
				
			||||||
        run: __test__/verify-basic.sh
 | 
					        run: __test__/verify-basic.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user