workflows/tests: separate log artefact (#57375)
parent
d577b06b34
commit
af4d3907b9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue