Browse Source

CI - check the job status on both code branch.

Yao Wei Tjong 姚伟忠 5 years ago
parent
commit
e4c6ae9db3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/main.yml

+ 1 - 1
.github/workflows/main.yml

@@ -141,7 +141,7 @@ jobs:
             android/urho3d-lib/build/distributions/*.zip
             android/urho3d-lib/build/libs/*.jar
             build/*.out
-        if: github.event_name == 'push' || (failure() && (matrix.platform == 'linux-clang-tidy' || matrix.platform == 'linux-clang-format'))
+        if: (success() && github.event_name == 'push') || (failure() && (matrix.platform == 'linux-clang-tidy' || matrix.platform == 'linux-clang-format'))
         continue-on-error: ${{ !startsWith(github.ref, 'refs/tags/') }}
       - name: Publish
         env: