diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1884aa6..01988de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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