From 0ba5b57663e23885ec10a4b049e3fcf5c5de7630 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sat, 2 Dec 2023 10:25:31 +0100 Subject: [PATCH] fix(ci/cluster-faces-test): cache photos download Signed-off-by: Marcel Klehr --- .github/workflows/cluster-faces-test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/cluster-faces-test.yml b/.github/workflows/cluster-faces-test.yml index 8e335608..d568d560 100644 --- a/.github/workflows/cluster-faces-test.yml +++ b/.github/workflows/cluster-faces-test.yml @@ -132,7 +132,14 @@ jobs: run: | ./occ app:enable -vvv ${{ env.APP_NAME }} + - uses: actions/cache/restore@v3 + id: photos-cache + with: + path: data/admin/files/ + key: https://cloud.marcelklehr.de/s/PkNYbmKnwMiQMFD/download/IMDb-Face.zip + - name: Upload photos + if: steps.photos-cache.outputs.cache-hit != 'true' run: | mkdir -p data/admin/files/ cd data/admin/files @@ -140,6 +147,11 @@ jobs: unzip IMDb-Face.zip rm IMDb-Face.zip + - uses: actions/cache/save@v3 + with: + path: data/admin/files/ + key: https://cloud.marcelklehr.de/s/PkNYbmKnwMiQMFD/download/IMDb-Face.zip + - name: Set pure-js mode run: | ./occ config:app:set --value ${{ matrix.pure-js-mode }} recognize tensorflow.purejs