Skip to content

Commit ebedf10

Browse files
authored
[CI] Fix intermittent actions/cache errors (#4220)
1 parent 0832347 commit ebedf10

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test-ui.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646
id: cache-key
4747
run: echo "key=$(date +%s)" >> $GITHUB_OUTPUT
4848

49-
- name: Cache setup
50-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
49+
- name: Save cache
50+
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684
5151
with:
5252
path: |
5353
ComfyUI
@@ -62,9 +62,13 @@ jobs:
6262
matrix:
6363
browser: [chromium, chromium-2x, mobile-chrome]
6464
steps:
65+
- name: Wait for cache propagation
66+
run: sleep 10
67+
6568
- name: Restore cached setup
66-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
69+
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684
6770
with:
71+
fail-on-cache-miss: true
6872
path: |
6973
ComfyUI
7074
ComfyUI_frontend

0 commit comments

Comments
 (0)