mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Add pip cache
Try to be a good citizen and use caches instead of hitting the repos all the time
This commit is contained in:
		
							
								
								
									
										9
									
								
								.github/workflows/docker-publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/docker-publish.yml
									
									
									
									
										vendored
									
									
								
							| @@ -21,6 +21,15 @@ jobs: | ||||
|       with: | ||||
|         default: "${{ matrix.python }}" | ||||
|         command: "pip install -U pip" | ||||
|     - name: Get pip cache dir | ||||
|       id: pip-cache | ||||
|       run: | | ||||
|         echo "::set-output name=dir::$(pip cache dir)" | ||||
|     - name: Persistent Github pip cache | ||||
|       uses: actions/cache@v2 | ||||
|       with: | ||||
|         path: ${{ steps.pip-cache.outputs.dir }} | ||||
|         key: ${{ runner.os }}-pip${{ matrix.python }} | ||||
|     - name: Tests | ||||
|       env:  | ||||
|         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Mark Schmitt
					Mark Schmitt