diff --git a/.github/nightly_matrix.php b/.github/nightly_matrix.php index 68bc8a3ee1c..d83f198133f 100644 --- a/.github/nightly_matrix.php +++ b/.github/nightly_matrix.php @@ -1,7 +1,8 @@ 'master', 'ref' => 'master', 'version' => ['major' => 8, 'minor' => 4]], + ['name' => 'master', 'ref' => 'master', 'version' => ['major' => 8, 'minor' => 5]], + ['name' => 'PHP-8.4', 'ref' => 'PHP-8.4', 'version' => ['major' => 8, 'minor' => 4]], ['name' => 'PHP-8.3', 'ref' => 'PHP-8.3', 'version' => ['major' => 8, 'minor' => 3]], ['name' => 'PHP-8.2', 'ref' => 'PHP-8.2', 'version' => ['major' => 8, 'minor' => 2]], ['name' => 'PHP-8.1', 'ref' => 'PHP-8.1', 'version' => ['major' => 8, 'minor' => 1]], @@ -153,7 +154,10 @@ function get_current_version(): array { $trigger = $argv[1] ?? 'schedule'; $attempt = (int) ($argv[2] ?? 1); -$discard_cache = ($trigger === 'schedule' && $attempt !== 1) || $trigger === 'workflow_dispatch'; +$monday = date('w', time()) === '1'; +$discard_cache = $monday + || ($trigger === 'schedule' && $attempt !== 1) + || $trigger === 'workflow_dispatch'; if ($discard_cache) { @unlink(get_branch_commit_cache_file_path()); } diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c0c14a5dfe3..bb1755769e9 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -873,13 +873,12 @@ jobs: repository: php-memcached-dev/php-memcached path: memcached - name: git checkout redis - # Currently fails to build - if: false uses: actions/checkout@v4 with: repository: phpredis/phpredis path: redis - name: git checkout xdebug + if: false uses: actions/checkout@v4 with: repository: xdebug/xdebug @@ -935,14 +934,13 @@ jobs: ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config make -j$(/usr/bin/nproc) - name: build redis - # Currently fails to build - if: false run: | cd redis /opt/php/bin/phpize ./configure --prefix=/opt/php --with-php-config=/opt/php/bin/php-config make -j$(/usr/bin/nproc) - name: build xdebug + if: false run: | cd xdebug /opt/php/bin/phpize