From 2dbe6056e8617a644982a89d70b07378047e0dd8 Mon Sep 17 00:00:00 2001 From: Jagdish Prajapati Date: Sat, 15 Nov 2025 19:09:58 +0530 Subject: [PATCH] Fix artifact upload to support both results.txt and results.json in test-changed workflow --- .github/workflows/java.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index e4bc6f65b..34ae302ed 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -68,5 +68,7 @@ jobs: uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 with: name: test-results - path: exercises/**/build/results.txt + path: | + exercises/**/build/results.txt + exercises/**/build/results.json if: failure()