Skip to content

Commit

Permalink
fix(ci/cluster-faces-test): cache photos download
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Dec 2, 2023
1 parent c55f536 commit 0ba5b57
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cluster-faces-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,26 @@ 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
wget https://cloud.marcelklehr.de/s/PkNYbmKnwMiQMFD/download/IMDb-Face.zip
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
Expand Down

0 comments on commit 0ba5b57

Please sign in to comment.