Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #160 from eloycoto/ActionsDegug
Browse files Browse the repository at this point in the history
CI: Add the pod list output when the action fails
  • Loading branch information
RichardW98 authored Mar 24, 2023
2 parents 552f758 + a852111 commit 3aea3ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,14 @@ jobs:
SERVER_IP="${SERVERIP}" SERVERPORT=80 ./workflow-examples/run_examples.sh complex
- name: Collect logs
if: always()
if: ${{ failure() }}
run: |
kubectl get pods --all-namespaces
kind export logs dist
- name: Archive logs
uses: actions/upload-artifact@v3
if: always()
if: ${{ failure() }}
with:
name: logs
path: |
Expand Down

0 comments on commit 3aea3ff

Please sign in to comment.