Skip to content

Commit aebf6d2

Browse files
committed
CI: add an upload-artifact action step
1 parent 8573ce7 commit aebf6d2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,14 @@ jobs:
4646
# Build
4747
- name: Build with Gradle
4848
run: ./gradlew build
49+
50+
# Upload test artifact
51+
- name: Upload test output
52+
uses: actions/upload-artifact@v6
53+
if: ${{ failure() }}
54+
with:
55+
name: test-output-${{ matrix.java }}
56+
path: |
57+
build/reports/
58+
retention-days: 15
59+
overwrite: true

0 commit comments

Comments
 (0)