mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: .github: Bust the nightly CI cache on Sunday instead of Monday (#20242)
This commit is contained in:
4
.github/nightly_matrix.php
vendored
4
.github/nightly_matrix.php
vendored
@@ -49,8 +49,8 @@ function get_current_version(): array {
|
||||
|
||||
$trigger = $argv[1] ?? 'schedule';
|
||||
$attempt = (int) ($argv[2] ?? 1);
|
||||
$monday = date('w', time()) === '1';
|
||||
$discard_cache = $monday
|
||||
$sunday = date('w', time()) === '0';
|
||||
$discard_cache = $sunday
|
||||
|| ($trigger === 'schedule' && $attempt !== 1)
|
||||
|| $trigger === 'workflow_dispatch';
|
||||
if ($discard_cache) {
|
||||
|
||||
Reference in New Issue
Block a user