mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 02:12:36 +02:00
FIXUP: Minor caching improvement
This commit is contained in:
parent
e0878e489a
commit
f6f9ff16e1
1 changed files with 7 additions and 3 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -72,7 +72,7 @@ jobs:
|
|||
name: Download and cache Tesseract data
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Cache Tessdata
|
||||
id: cache-tessdata
|
||||
uses: actions/cache@v4
|
||||
|
@ -84,8 +84,12 @@ jobs:
|
|||
with:
|
||||
python-version: '3.11'
|
||||
- name: Download Tessdata
|
||||
if: steps.cache-tessdata.outputs.cache-hit != 'true'
|
||||
run: python3 ./install/common/download-tessdata.py
|
||||
run: |-
|
||||
if [ -f "share/tessdata" ]; then
|
||||
echo "Already cached, skipping"
|
||||
else
|
||||
python3 ./install/common/download-tessdata.py
|
||||
fi
|
||||
|
||||
windows:
|
||||
runs-on: windows-latest
|
||||
|
|
Loading…
Reference in a new issue