Fix: Wrap apt calls into a retry so we can ideally jump a slow mirror (#14344)

* Fix: Wrap apt calls into a retry so we can ideally jump from a slow mirror to a faster one

* Use the different synxtax for an in-repo usage
This commit is contained in:
Trenton H
2026-10-02 15:55:54 -07:00
committed by GitHub
parent f1ae9c00ac
commit 56687614df
5 changed files with 69 additions and 14 deletions
+4 -5
View File
@@ -108,11 +108,10 @@ jobs:
enable-cache: true
python-version: ${{ steps.setup-python.outputs.python-version }}
- name: Install system dependencies
timeout-minutes: 10
run: |
sudo apt-get update -qq
sudo apt-get install -qq --no-install-recommends \
unpaper tesseract-ocr imagemagick ghostscript poppler-utils
timeout-minutes: 12
uses: $/.github/actions/apt-install
with:
packages: unpaper tesseract-ocr imagemagick ghostscript poppler-utils
- name: Configure ImageMagick
run: |
sudo cp docker/rootfs/etc/ImageMagick-6/paperless-policy.xml /etc/ImageMagick-6/policy.xml