File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 55
66jobs :
77 cache-422-repro :
8- runs-on : self-hosted # or your self-hosted runner on Azure
8+ runs-on : ubuntu-latest
99
1010 steps :
1111 - uses : actions/checkout@v4
@@ -24,12 +24,16 @@ jobs:
2424 path : /tmp/pnpm-store-path-A
2525 key : pnpm-store-Linux-18.20.4-v1
2626
27- - name : Create dummy file in Path A
27+ - name : Show restored files
28+ run : ls -la /tmp/pnpm-store-path-A || echo "No cache restored"
29+
30+ - name : Prepare different cache content in Path B
2831 run : |
29- mkdir -p /tmp/pnpm-store-path-A
30- echo "dummy cache content" > /tmp/pnpm-store-path-A/cache.txt
32+ mkdir -p /tmp/pnpm-store-path-B
33+ echo "different dummy cache content" > /tmp/pnpm-store-path-B/cache.txt
34+ ls -la /tmp/pnpm-store-path-B
3135
32- - name : Save PNPM cache (Path B - different from restore )
36+ - name : Save PNPM cache (Path B)
3337 uses : actions/cache@v4
3438 with :
3539 path : /tmp/pnpm-store-path-B
You can’t perform that action at this time.
0 commit comments