This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/main by this push:
     new 1b2dedbc7a Fix CI Test Results workflow failing to find event.json 
(#2555)
1b2dedbc7a is described below

commit 1b2dedbc7a22b57c47c5b2963ac61c6c74b1c28e
Author: JB Onofré <[email protected]>
AuthorDate: Mon Apr 27 08:23:18 2026 +0200

    Fix CI Test Results workflow failing to find event.json (#2555)
    
    dawidd6/action-download-artifact@v20 with name_is_regexp creates 
per-artifact
    subdirectories, so the event file lands at 
event/event-file-ubuntu-24.04/event.json
    rather than event/event.json. Download only the ubuntu-24.04 artifact by 
exact
    name and update the event_file path accordingly.
---
 .github/workflows/ci-test-results.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci-test-results.yml 
b/.github/workflows/ci-test-results.yml
index c9f71b72e9..2348967fa4 100644
--- a/.github/workflows/ci-test-results.yml
+++ b/.github/workflows/ci-test-results.yml
@@ -50,15 +50,14 @@ jobs:
         uses: dawidd6/action-download-artifact@v20
         with:
           run_id: ${{ github.event.workflow_run.id }}
-          name: event-file-.*
-          name_is_regexp: true
+          name: event-file-ubuntu-24.04
           path: event
 
       - name: Publish Test Results
         uses: EnricoMi/publish-unit-test-result-action@v2
         with:
           commit: ${{ github.event.workflow_run.head_sha }}
-          event_file: event/event.json
+          event_file: event/event-file-ubuntu-24.04/event.json
           event_name: ${{ github.event.workflow_run.event }}
           large_files: true
           report_individual_runs: true

Reply via email to