mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-28 03:46:06 -05:00 
			
		
		
		
	Try to use pip cache and install dependnecies like in tests
This commit is contained in:
		
							
								
								
									
										11
									
								
								.github/workflows/docker-publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/docker-publish.yml
									
									
									
									
										vendored
									
									
								
							| @@ -51,8 +51,19 @@ jobs: | |||||||
|       with: |       with: | ||||||
|         default: "3.6.8" |         default: "3.6.8" | ||||||
|         command: "pip install -U pip"     |         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 }}-pip3.6.8} | ||||||
|     - name: dependencies |     - name: dependencies | ||||||
|       run: | |       run: | | ||||||
|  |         sudo apt-get update -qq | ||||||
|  |         sudo apt-get install -qq libpoppler-cpp-dev unpaper tesseract-ocr imagemagick ghostscript optipng | ||||||
|         pip install --upgrade pipenv |         pip install --upgrade pipenv | ||||||
|         pipenv install --system --dev |         pipenv install --system --dev | ||||||
|     - name: make |     - name: make | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Mark Schmitt
					Mark Schmitt