Skip to content

Commit

Permalink
Only gather KinD logs if tests fail (apache#11058)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimberman authored Sep 21, 2020
1 parent 19d781f commit 7e112b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ jobs:
run: ./scripts/ci/kubernetes/ci_run_kubernetes_tests.sh
- name: "Upload KinD logs"
uses: actions/upload-artifact@v2
if: always()
if: failure()
with:
name: kind-logs-${{matrix.kube-mode}}-${{matrix.python-version}}-${{matrix.kubernetes-version}}
path: /tmp/kind_logs_*
Expand Down

0 comments on commit 7e112b1

Please sign in to comment.