GitHub: only upload logs on failure

This commit is contained in:
Oliver Gugger 2021-10-06 14:11:39 +02:00
parent ccc03931ad
commit b925ebb92c
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -286,8 +286,9 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: logs
name: logs-itest-${{ job.id }}
path: lntest/itest/**/*.log
retention-days: 5
@ -325,8 +326,9 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: logs
name: logs-itest-windows
path: lntest/itest/**/*.log
retention-days: 5