mirror of
				https://github.com/XRPLF/xrpl-dev-portal.git
				synced 2025-11-04 11:55:50 +00:00 
			
		
		
		
	PR build improvements
- Update checkout, setup-python actions to latest versions - Use head instead of cat so very long link reports don't fail the build with an 'Argument list too long' error
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/link-checker-pr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/link-checker-pr.yml
									
									
									
									
										vendored
									
									
								
							@@ -12,10 +12,10 @@ jobs:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v2
 | 
			
		||||
    - uses: actions/checkout@v3
 | 
			
		||||
 | 
			
		||||
    - name: Set up Python ${{ matrix.python-version }}
 | 
			
		||||
      uses: actions/setup-python@v2
 | 
			
		||||
      uses: actions/setup-python@v4
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: "3.9"
 | 
			
		||||
 | 
			
		||||
@@ -43,7 +43,7 @@ jobs:
 | 
			
		||||
      run: |
 | 
			
		||||
        sed -i '1,/---------------------------------------/d' linkreport.txt
 | 
			
		||||
        echo 'LINKREPORT<<EOF' >> $GITHUB_ENV
 | 
			
		||||
        cat linkreport.txt >> $GITHUB_ENV
 | 
			
		||||
        head -c 65300 linkreport.txt >> $GITHUB_ENV
 | 
			
		||||
        echo 'EOF' >> $GITHUB_ENV
 | 
			
		||||
        cat linkreport.txt
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user