Explorar el Código

Fix syntax for file existence check in action.yml

jimsterino98 hace 4 meses
padre
commit
6c4a9398f0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .github/actions/use-ccache/action.yml

+ 1 - 1
.github/actions/use-ccache/action.yml

@@ -36,7 +36,7 @@ runs:
         -e 's/^HOSTCC[[:space:]]*[:?+]?=.*/HOSTCC = ccache clang/' \
         -e 's/^HOSTCXX[[:space:]]*[:?+]?=.*/HOSTCXX = ccache clang++/' \
         build/kernel/_setup_env.sh
-      elif [[-f kernel/build/kernel/build.sh ]]; then
+      elif [[ -f kernel/build/kernel/build.sh ]]; then
        sed -i -E \
         -e 's/^CC[[:space:]]*[:?+]?=.*/CC = ccache clang/' \
         -e 's/^CXX[[:space:]]*[:?+]?=.*/CXX = ccache clang++/' \