Parcourir la source

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

Stephen Gold il y a 4 ans
Parent
commit
bcb73a9992
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .github/workflows/main.yml

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

@@ -232,7 +232,7 @@ jobs:
               else
                 # We check if the native code changed.
                 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