Skip to content

Commit d56b27d

Browse files
Chore(deps): Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent 20afd87 commit d56b27d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/cluster-faces-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
run: |
137137
rm -rf apps/recognize/models
138138
139-
- uses: actions/cache/restore@v3
139+
- uses: actions/cache/restore@v4
140140
id: photos-cache
141141
with:
142142
path: data/admin/files/
@@ -151,7 +151,7 @@ jobs:
151151
unzip IMDb-Face.zip
152152
rm IMDb-Face.zip
153153
154-
- uses: actions/cache/save@v3
154+
- uses: actions/cache/save@v4
155155
with:
156156
path: data/admin/files/
157157
key: https://cloud.nextcloud.com/public.php/dav/files/wfDk23DBsXYrd4S/IMDb-Face.zip
@@ -163,7 +163,7 @@ jobs:
163163
# only use one core. GH actions has 2
164164
./occ config:app:set --value 1 recognize tensorflow.cores
165165
166-
- uses: actions/cache/restore@v3
166+
- uses: actions/cache/restore@v4
167167
id: db-cache
168168
with:
169169
path: data/nextcloud.db
@@ -177,7 +177,7 @@ jobs:
177177
./occ files:scan admin
178178
./occ recognize:classify
179179
180-
- uses: actions/cache/save@v3
180+
- uses: actions/cache/save@v4
181181
with:
182182
path: data/nextcloud.db
183183
key: ${{ steps.db-cache.outputs.cache-primary-key }}
@@ -194,7 +194,7 @@ jobs:
194194
run: |
195195
sqlite3 data/nextcloud.db "select x, y, path from oc_recognize_face_detections d LEFT JOIN oc_filecache c ON c.fileid = d.file_id where user_id = 'admin' ORDER BY path;" > out.txt
196196
197-
- uses: actions/cache/restore@v3
197+
- uses: actions/cache/restore@v4
198198
id: clustering-cache
199199
with:
200200
path: out.json
@@ -251,7 +251,7 @@ jobs:
251251
cat out.xml | xq '.["d:multistatus"]["d:response"] | map(select(.["d:href"] | test("faces/.+?/.+?"))) | map({"href": .["d:href"], "realpath": .["d:propstat"][0]["d:prop"]["nc:realpath"], "face-detections": .["d:propstat"][0]["d:prop"]["nc:face-detections"] | fromjson | map({userId, x, y, height, width, clusterId}) })' > out.json
252252
cat out.json
253253
254-
- uses: actions/cache/save@v3
254+
- uses: actions/cache/save@v4
255255
with:
256256
path: out.json
257257
key: ${{ steps.clustering-cache.outputs.cache-primary-key }}

0 commit comments

Comments
 (0)