@matheusbsbs / matheus-bagliano / commits / 92bf1b6067
Fork 0

ci: avoid `set-env` construct in print-test-failures.sh

Imitating cac42e47 (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 <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Nov 17, 2020 at 12:10 UTC 92bf1b6067381047b814800b27a17188e83b5746
1 file changed +1 -1
ci/print-test-failures.sh
+1 -1
@@ -48,7 +48,7 @@ do
48 ;;
49 github-actions)
50 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
52 cp "${TEST_EXIT%.exit}.out" failed-test-artifacts/
53 tar czf failed-test-artifacts/"$test_name".trash.tar.gz "$trash_dir"
54 continue