Skip to content

Commit 90d69c5

Browse files
update action to use latest junit report v6, and upload report to artifact
Issue: ZENKO-5180
1 parent 9376931 commit 90d69c5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/actions/archive-artifacts/action.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runs:
3333
using: composite
3434
steps:
3535
- name: Publish test report
36-
uses: mikepenz/action-junit-report@v4
36+
uses: mikepenz/action-junit-report@v6
3737
with:
3838
annotate_only: true
3939
check_name: ${{ inputs.stage}}
@@ -51,6 +51,16 @@ runs:
5151
token: ${{ inputs.trunk_token }}
5252
continue-on-error: true
5353

54+
- name: Archive Cucumber test reports to artifacts
55+
shell: bash
56+
run: |-
57+
set -exu
58+
mkdir -p /tmp/artifacts/data/${STAGE}/reports
59+
cp -r /artifacts/data/reports/* /tmp/artifacts/data/${STAGE}/reports/ 2>/dev/null || echo "No reports found"
60+
env:
61+
STAGE: ${{ inputs.stage }}
62+
continue-on-error: true
63+
5464
- name: Archive artifact logs and data
5565
shell: bash
5666
run: |-

0 commit comments

Comments
 (0)