Skip to content

Commit 87fecc6

Browse files
committed
CI: add an upload-artifact action step
1 parent ad70cc4 commit 87fecc6

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
@@ -47,6 +47,17 @@ jobs:
4747
- name: Build with Gradle
4848
run: ./gradlew build
4949

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
60+
5061
testOn8:
5162
runs-on: ubuntu-latest
5263

0 commit comments

Comments
 (0)