Skip to content

Commit

Permalink
Fix prune-cache not pruning keys with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Aug 3, 2024
1 parent a063a2e commit 92ffaff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/prune-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
'-H "Accept: application/vnd.github+json"',
'-H "X-GitHub-Api-Version: 2022-11-28"',
sprintf('-F ref=%s', $ref),
sprintf('/repos/%s/actions/caches?key=%s', $repository, $key),
sprintf('/repos/%s/actions/caches?key=%s', $repository, rawurlencode($key)),
'2>/dev/null',
]);

Expand Down

0 comments on commit 92ffaff

Please sign in to comment.