Upload build reports if and only if build has failed

Closes gh-36558
This commit is contained in:
Andy Wilkinson
2023-07-25 13:11:37 +01:00
parent aae8665db1
commit 637e190e76

View File

@@ -37,6 +37,7 @@ jobs:
- name: Upload build reports
uses: actions/upload-artifact@v3
if: failure()
with:
name: build-reports
path: '**/build/reports/'