mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Stop using the deprecated set-output
command in nightly_matrix.php (#10302)
see https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
parent
013e0f98ac
commit
71bdcce9f8
6
.github/nightly_matrix.php
vendored
6
.github/nightly_matrix.php
vendored
@ -88,5 +88,7 @@ if ($discard_cache) {
|
||||
$branches = get_branches();
|
||||
$matrix_include = get_matrix_include($branches);
|
||||
|
||||
echo '::set-output name=branches::' . json_encode($branches, JSON_UNESCAPED_SLASHES) . "\n";
|
||||
echo '::set-output name=matrix-include::' . json_encode($matrix_include, JSON_UNESCAPED_SLASHES) . "\n";
|
||||
$f = fopen(getenv('GITHUB_OUTPUT'), 'a');
|
||||
fwrite($f, 'branches=' . json_encode($branches, JSON_UNESCAPED_SLASHES) . "\n");
|
||||
fwrite($f, 'matrix-include=' . json_encode($matrix_include, JSON_UNESCAPED_SLASHES) . "\n");
|
||||
fclose($f);
|
||||
|
Loading…
Reference in New Issue
Block a user