We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
set-output
1 parent 013e0f9 commit 71bdcceCopy full SHA for 71bdcce
.github/nightly_matrix.php
@@ -88,5 +88,7 @@ function get_matrix_include(array $branches) {
88
$branches = get_branches();
89
$matrix_include = get_matrix_include($branches);
90
91
-echo '::set-output name=branches::' . json_encode($branches, JSON_UNESCAPED_SLASHES) . "\n";
92
-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");
93
+fwrite($f, 'matrix-include=' . json_encode($matrix_include, JSON_UNESCAPED_SLASHES) . "\n");
94
+fclose($f);
0 commit comments