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 5
5
6
6
jobs :
7
7
cache-422-repro :
8
- runs-on : self-hosted # or your self-hosted runner on Azure
8
+ runs-on : ubuntu-latest
9
9
10
10
steps :
11
11
- uses : actions/checkout@v4
@@ -24,12 +24,16 @@ jobs:
24
24
path : /tmp/pnpm-store-path-A
25
25
key : pnpm-store-Linux-18.20.4-v1
26
26
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
28
31
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
31
35
32
- - name : Save PNPM cache (Path B - different from restore )
36
+ - name : Save PNPM cache (Path B)
33
37
uses : actions/cache@v4
34
38
with :
35
39
path : /tmp/pnpm-store-path-B
You can’t perform that action at this time.
0 commit comments