This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e112b1  Only gather KinD logs if tests fail (#11058)
7e112b1 is described below

commit 7e112b18e05c36621e1bf55a61005a417bb13c27
Author: Daniel Imberman <[email protected]>
AuthorDate: Mon Sep 21 09:56:17 2020 -0700

    Only gather KinD logs if tests fail (#11058)
---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 271dc39..8c85ef5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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_*

Reply via email to