Skip to content

Commit e484889

Browse files
committed
Add artifact upload on build failure
1 parent 8d62606 commit e484889

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/gradle.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,10 @@ jobs:
1818
run: chmod +x gradlew
1919
- name: Build with Gradle
2020
run: ./gradlew build
21-
21+
- name: Upload artifact
22+
if: failure()
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: tests
26+
path: ${{ github.workspace }}/build/reports/tests/
27+
retention-days: 10

0 commit comments

Comments
 (0)