Skip to content

Commit 72a3f67

Browse files
committed
Fix delete cache
1 parent b8fb4c8 commit 72a3f67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/save-runtime-cache/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ runs:
2626
- id: delete
2727
if: ${{ steps.lookup-runtime-cache.outputs.cache-hit }}
2828
uses: actions/github-script@v7
29+
env:
30+
RUNTIME_CACHE_KEY: ${{ steps.lookup-runtime-cache.outputs.key }}
2931
with:
3032
script: |
3133
github.rest.actions.deleteActionsCacheById({
3234
owner: context.repo.owner,
3335
repo: context.repo.repo,
34-
cache_id: steps.lookup-runtime-cache.outputs.key,
36+
cache_id: `${RUNTIME_CACHE_KEY}`,
3537
})
3638
3739
- id: save

0 commit comments

Comments
 (0)