Skip to content

Commit 1a24f94

Browse files
authored
ci: fix broken cache behavior (#1162)
* ci: fix broken cache behavior * ci: make code clearer
1 parent b8bb209 commit 1a24f94

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/download-datasets/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
with:
88
path: datasets
99
key: datasets-${{ hashFiles('datasets/populate') }} # Only invalidate cache when download script changes
10-
- if: steps.cache.outputs.cache-hit == 'false'
10+
- if: steps.cache.outputs.cache-hit == '' || steps.cache.outputs.cache-hit == 'false'
1111
run: datasets/populate
1212
shell: bash
1313
- uses: actions/upload-artifact@v7

discojs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dependencies": {
2121
"@epfml/isomorphic-wrtc": "1",
2222
"@jimp/core": "1",
23-
"@jimp/plugin-resize": "^1.6.1",
23+
"@jimp/plugin-resize": "1",
2424
"@msgpack/msgpack": "3",
2525
"@tensorflow/tfjs": "4",
2626
"@xenova/transformers": "2",

0 commit comments

Comments
 (0)