mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Try to use pip cache and install dependnecies like in tests
This commit is contained in:
parent
7118890f85
commit
205bb6c6ce
13
.github/workflows/docker-publish.yml
vendored
13
.github/workflows/docker-publish.yml
vendored
@ -50,9 +50,20 @@ jobs:
|
|||||||
uses: gabrielfalcao/pyenv-action@v7
|
uses: gabrielfalcao/pyenv-action@v7
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user