Skip to content

Commit

Permalink
make gha log capture more useful
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Feb 19, 2024
1 parent 173dde2 commit fdedead
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ jobs:
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
name: logs-py${{ matrix.python-version }}
path: logs.tar.gz
retention-days: 7
- name: Stop Redis Service Container
Expand Down Expand Up @@ -821,14 +821,14 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Compress Service Logs Before upload
if: ${{ failure() && env.TASK == 'ci-integration' }}
if: ${{ failure() }}
run: |
tar cvzpf logs.tar.gz logs/*
- name: Upload StackStorm services Logs
if: ${{ failure() && env.TASK == 'ci-integration' }}
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
name: logs-py${{ matrix.python-version }}-${{ matrix.task }}-nose-${{ matrix.nosetests_node_index }}
path: logs.tar.gz
retention-days: 7
- name: Stop Redis Service Container
Expand Down

0 comments on commit fdedead

Please sign in to comment.