Skip to content

Commit 91e2248

Browse files
Update call-reusable.yml
1 parent 46a87a9 commit 91e2248

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/call-reusable.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
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

0 commit comments

Comments
 (0)