Skip to content

Commit a9a9b34

Browse files
gitsterdscho
authored andcommitted
ci: avoid set-env construct in print-test-failures.sh
Avoid the deprecated `::set-env` and use the recommended alternative instead in `print-test-failures.sh`. Helped-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent ad95d13 commit a9a9b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/print-test-failures.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ do
4848
;;
4949
github-actions)
5050
mkdir -p failed-test-artifacts
51-
echo "::set-env name=FAILED_TEST_ARTIFACTS::t/failed-test-artifacts"
51+
echo "FAILED_TEST_ARTIFACTS=t/failed-test-artifacts" >>$GITHUB_ENV
5252
cp "${TEST_EXIT%.exit}.out" failed-test-artifacts/
5353
tar czf failed-test-artifacts/"$test_name".trash.tar.gz "$trash_dir"
5454
continue

0 commit comments

Comments
 (0)