Bläddra i källkod

bugfix: "Deploy natives snapshot" step always detects native changes

Stephen Gold 4 år sedan
förälder
incheckning
bcb73a9992
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      .github/workflows/main.yml

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

@@ -232,7 +232,7 @@ jobs:
               else
               else
                 # We check if the native code changed.
                 # We check if the native code changed.
                 echo "Detect changes"
                 echo "Detect changes"
-                if [ "$NATIVE_CHANGES" = "" ];then NATIVE_CHANGES="$(git diff-tree --name-only "$GITHUB_SHA" "$nativeSnapshot"  --  jme3-android-native/)"; fi
+                NATIVE_CHANGES="$(git diff-tree --name-only "$GITHUB_SHA" "$nativeSnapshot"  --  jme3-android-native/)"; fi
               fi
               fi
             fi
             fi