Skip to content

Commit 92bf1b6

Browse files
committed
ci: avoid set-env construct in print-test-failures.sh
Imitating cac42e4 (ci: avoid using the deprecated `set-env` construct, 2020-11-07), avoid 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]>
1 parent cac42e4 commit 92bf1b6

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)