workflows/tests: separate log artefact (#57375)

master
Bo Anderson 2020-07-06 09:12:16 +01:00 committed by GitHub
parent d577b06b34
commit af4d3907b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 1 deletions

View File

@ -133,6 +133,19 @@ jobs:
cat bottles/steps_output.txt
rm bottles/steps_output.txt
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v2
with:
name: logs (${{ matrix.version }})
path: bottles/logs
- name: Delete logs and home
if: always()
run: |
rm -rf bottles/logs
rm -rf bottles/home
- name: Count bottles
id: bottles
if: always()
@ -144,7 +157,7 @@ jobs:
- name: Upload bottles
if: always() && steps.bottles.outputs.count > 0
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: bottles
path: bottles