GitHub: only upload logs on failure
This commit is contained in:
1 file changed
+4
-2
@@ -286,8 +286,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs-itest-${{ job.id }}
|
||||||
path: lntest/itest/**/*.log
|
path: lntest/itest/**/*.log
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
@@ -325,8 +326,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
name: logs
|
name: logs-itest-windows
|
||||||
path: lntest/itest/**/*.log
|
path: lntest/itest/**/*.log
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user