Skip to content

Commit 75b770e

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: .github: Bust the nightly CI cache on Sunday instead of Monday (php#20242)
2 parents ebbb1b4 + f250fd6 commit 75b770e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/nightly_matrix.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ function get_current_version(): array {
4949

5050
$trigger = $argv[1] ?? 'schedule';
5151
$attempt = (int) ($argv[2] ?? 1);
52-
$monday = date('w', time()) === '1';
53-
$discard_cache = $monday
52+
$sunday = date('w', time()) === '0';
53+
$discard_cache = $sunday
5454
|| ($trigger === 'schedule' && $attempt !== 1)
5555
|| $trigger === 'workflow_dispatch';
5656
if ($discard_cache) {

0 commit comments

Comments
 (0)