We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8fb4c8 commit 13ae65dCopy full SHA for 13ae65d
.github/actions/save-runtime-cache/action.yml
@@ -26,12 +26,15 @@ runs:
26
- id: delete
27
if: ${{ steps.lookup-runtime-cache.outputs.cache-hit }}
28
uses: actions/github-script@v7
29
+ env:
30
+ RUNTIME_CACHE_KEY: ${{ steps.lookup-runtime-cache.outputs.key }}
31
with:
32
script: |
33
+ const { RUNTIME_CACHE_KEY } = process.env
34
github.rest.actions.deleteActionsCacheById({
35
owner: context.repo.owner,
36
repo: context.repo.repo,
- cache_id: steps.lookup-runtime-cache.outputs.key,
37
+ cache_id: `${RUNTIME_CACHE_KEY}`,
38
})
39
40
- id: save
0 commit comments