Skip to content

Commit 1248a08

Browse files
authored
fix publishing of system test results
publishing of test results from branches containing forward slash
1 parent 07b18f9 commit 1248a08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/system-tests.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ jobs:
133133
if [[ $GITHUB_ACTOR != "nektos/act" ]]; then
134134
echo "HOST_M2_REPO=$HOME/.m2" >> $GITHUB_ENV
135135
fi
136+
echo "UPLOAD_TEST_ARTEFACT_NAME=system-test-results-${{ env.DITTO_BRANCH }}-${{ github.run_number }}" | sed 's/\//-/g' >> $GITHUB_ENV
136137
137138
- name: Debug maven repo
138139
run: |
@@ -358,7 +359,7 @@ jobs:
358359
if: env.GITHUB_ACTOR != 'nektos/act'
359360
uses: actions/upload-artifact@v3
360361
with:
361-
name: system-test-results-${{ env.DITTO_BRANCH }}-${{ github.run_number }}
362+
name: ${{ env.UPLOAD_TEST_ARTEFACT_NAME }}
362363
path: 'ditto-testing/**/target/failsafe-reports/**/*.xml'
363364

364365
- name: Upload services logs
@@ -369,6 +370,7 @@ jobs:
369370
path: 'ditto-testing/docker/*.log'
370371

371372
- name: List Test Result files
373+
if: always()
372374
run: |
373375
ls -lah ./**/target/failsafe-reports/*IT.xml
374376
working-directory: ditto-testing

0 commit comments

Comments
 (0)