workflows: don't checkout the action code manually
This commit is contained in:
		
							parent
							
								
									63d10a4690
								
							
						
					
					
						commit
						d1b9509a2a
					
				
					 1 changed files with 2 additions and 10 deletions
				
			
		
							
								
								
									
										12
									
								
								.github/workflows/test.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/test.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -23,12 +23,8 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          repository: ${{matrix.repo}}
 | 
			
		||||
          ref: ${{matrix.ref}}
 | 
			
		||||
      - name: Checkout code
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
        with:
 | 
			
		||||
          path: action
 | 
			
		||||
      - name: Test run
 | 
			
		||||
        uses: ./action
 | 
			
		||||
        uses: ${{github.repository}}@${{github.sha}}
 | 
			
		||||
      - name: Check files
 | 
			
		||||
        run: |
 | 
			
		||||
          ls -lh ${{matrix.package}}_*.*
 | 
			
		||||
| 
						 | 
				
			
			@ -52,12 +48,8 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          repository: ${{matrix.repo}}
 | 
			
		||||
          ref: ${{matrix.ref}}
 | 
			
		||||
      - name: Checkout code
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
        with:
 | 
			
		||||
          path: action
 | 
			
		||||
      - name: Test run
 | 
			
		||||
        uses: ./action
 | 
			
		||||
        uses: ${{github.repository}}@${{github.sha}}
 | 
			
		||||
        with:
 | 
			
		||||
          artifacts_directory: artifacts
 | 
			
		||||
      - name: Check files
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue