Skip to content

Commit 1791dff

Browse files
committed
upload test reports
1 parent 479a713 commit 1791dff

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build-common.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,14 @@ jobs:
216216

217217
- name: Test
218218
run: ./gradlew ${{ matrix.module }}:smokeTest
219+
220+
- name: Create unique artifact name
221+
run: |
222+
echo "UPLOAD_ARTIFACT_NAME=smoke-test-reports-${{ matrix.module }}" | sed 's/:/-/g' >> $GITHUB_ENV
223+
224+
- name: Upload smoke test reports
225+
uses: actions/upload-artifact@v4
226+
if: failure()
227+
with:
228+
name: ${{ env.UPLOAD_ARTIFACT_NAME }}
229+
path: '**/build/reports/tests/smokeTest/**/*'

0 commit comments

Comments
 (0)