Browse Source

Update script paths in action.yml for ccache

jimsterino98 2 months ago
parent
commit
3dea21bb54
1 changed files with 4 additions and 4 deletions
  1. 4 4
      .github/actions/use-ccache/action.yml

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

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