[php-src] Issue #14155: ccache should not create caches for PRs
| From: | TimWolla | Date: | Mon, 06 May 2024 15:14:10 +0000 |
| Subject: | [php-src] Issue #14155: ccache should not create caches for PRs | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246867@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/14155
Author: TimWolla
### Description
Currently the ccache integration for GitHub Actions also creates caches for PRs, needlessly wasting
cache space. It should likely be configured to only ever restore caches, but not create a new one:
https://github.com/hendrikmuhs/ccache-action/blob/c92f40bee50034e84c763e33b317c77adaa81c92/action.yml#L24C3-L26
It would still benefit from any caching done for the master branch, but not create any redundant
branch-specific cache.
### PHP Version
n/a
### Operating System
_No response_