about summary refs log tree commit diff
path: root/third_party/git/ci/print-test-failures.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/ci/print-test-failures.sh')
-rwxr-xr-xthird_party/git/ci/print-test-failures.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/git/ci/print-test-failures.sh b/third_party/git/ci/print-test-failures.sh
index e688a26f0d61..92a983a265c2 100755
--- a/third_party/git/ci/print-test-failures.sh
+++ b/third_party/git/ci/print-test-failures.sh
@@ -46,6 +46,13 @@ do
 			mv "$trash_dir" failed-test-artifacts
 			continue
 			;;
+		github-actions)
+			mkdir -p failed-test-artifacts
+			echo "::set-env name=FAILED_TEST_ARTIFACTS::t/failed-test-artifacts"
+			cp "${TEST_EXIT%.exit}.out" failed-test-artifacts/
+			tar czf failed-test-artifacts/"$test_name".trash.tar.gz "$trash_dir"
+			continue
+			;;
 		*)
 			echo "Unhandled CI type: $CI_TYPE" >&2
 			exit 1