Skip to content

Commit fdedead

Browse files
committed
make gha log capture more useful
1 parent 173dde2 commit fdedead

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ jobs:
346346
if: ${{ failure() }}
347347
uses: actions/upload-artifact@v2
348348
with:
349-
name: logs
349+
name: logs-py${{ matrix.python-version }}
350350
path: logs.tar.gz
351351
retention-days: 7
352352
- name: Stop Redis Service Container
@@ -821,14 +821,14 @@ jobs:
821821
env:
822822
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
823823
- name: Compress Service Logs Before upload
824-
if: ${{ failure() && env.TASK == 'ci-integration' }}
824+
if: ${{ failure() }}
825825
run: |
826826
tar cvzpf logs.tar.gz logs/*
827827
- name: Upload StackStorm services Logs
828-
if: ${{ failure() && env.TASK == 'ci-integration' }}
828+
if: ${{ failure() }}
829829
uses: actions/upload-artifact@v2
830830
with:
831-
name: logs
831+
name: logs-py${{ matrix.python-version }}-${{ matrix.task }}-nose-${{ matrix.nosetests_node_index }}
832832
path: logs.tar.gz
833833
retention-days: 7
834834
- name: Stop Redis Service Container

0 commit comments

Comments
 (0)