Skip to content

Commit fa22fff

Browse files
committed
Allow uploading of failed build information
1 parent afa7b30 commit fa22fff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
run: ./gradlew publishAllPublicationsToTestingRepository
3434
- name: Display directory structure of testing repo
3535
run: ls -R build/testing-mvn-repo
36+
- name: Upload info if failure
37+
if: ${{ failure() }}
38+
uses: actions/upload-artifact@v2
39+
with:
40+
name: java-${{matrix.version}}-failed-build
41+
path: build/*
3642
- name: Save output from testing repo
3743
uses: actions/upload-artifact@v2
3844
with:

0 commit comments

Comments
 (0)