From c1b7107ae3a24367f2915ddfea6711ec989df23e Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Thu, 10 Mar 2022 14:22:00 +0100 Subject: [PATCH] publish.yml: Remove the debug job and fix an error in the workflow. Signed-off-by: Abdelatif Guettouche --- .github/workflows/publish.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 686ce2f2380..5d2027ff7e3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,14 +8,6 @@ on: - completed jobs: - debug: - name: Debug - runs-on: ubuntu-latest - - steps: - - name: Debug Action - uses: hmarr/debug-action@v2.0.0 - unit-test-results: name: Unit Test Results runs-on: ubuntu-latest @@ -35,4 +27,7 @@ jobs: - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v1 with: - commit: ${{ github.event.workflow + commit: ${{ github.event.workflow_run.head_sha }} + event_file: artifacts/Event File/event.json + event_name: ${{ github.event.workflow_run.event }} + files: "artifacts/**/*.xml"