mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 02:02:08 +00:00
[CI] Fix intermittent actions/cache errors (#4220)
This commit is contained in:
10
.github/workflows/test-ui.yaml
vendored
10
.github/workflows/test-ui.yaml
vendored
@@ -46,8 +46,8 @@ jobs:
|
|||||||
id: cache-key
|
id: cache-key
|
||||||
run: echo "key=$(date +%s)" >> $GITHUB_OUTPUT
|
run: echo "key=$(date +%s)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Cache setup
|
- name: Save cache
|
||||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
|
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
ComfyUI
|
ComfyUI
|
||||||
@@ -62,9 +62,13 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
browser: [chromium, chromium-2x, mobile-chrome]
|
browser: [chromium, chromium-2x, mobile-chrome]
|
||||||
steps:
|
steps:
|
||||||
|
- name: Wait for cache propagation
|
||||||
|
run: sleep 10
|
||||||
|
|
||||||
- name: Restore cached setup
|
- name: Restore cached setup
|
||||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
|
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684
|
||||||
with:
|
with:
|
||||||
|
fail-on-cache-miss: true
|
||||||
path: |
|
path: |
|
||||||
ComfyUI
|
ComfyUI
|
||||||
ComfyUI_frontend
|
ComfyUI_frontend
|
||||||
|
|||||||
Reference in New Issue
Block a user