Skip to content

Commit 86cb6f4

Browse files
committed
fixup! wip: pie.yaml
1 parent 3b7de69 commit 86cb6f4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pie.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ jobs:
4848
with:
4949
persist-credentials: false
5050

51-
- uses: actions/cache@v4
51+
- uses: actions/cache/restore@v4
52+
id: cache-php
5253
with:
5354
path: |
5455
C:\php\php-*.zip
@@ -85,8 +86,8 @@ jobs:
8586
shell: pwsh
8687

8788
- uses: actions/cache/save@v4
88-
if: always()
89+
if: always() && steps.cache-php.outputs.cache-hit != 'true'
8990
with:
9091
path: |
9192
C:\php\php-*.zip
92-
key: ${{ runner.os }}-php
93+
key: ${{ steps.cache-php.outputs.cache-primary-key }}

0 commit comments

Comments
 (0)