From 4493661a1020d21c471bf9c5bac7bf4eaad7982b Mon Sep 17 00:00:00 2001 From: Fred Heinecke Date: Mon, 16 Dec 2024 15:56:30 -0600 Subject: [PATCH] debug logging --- tools/env-loader/action.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/env-loader/action.yaml b/tools/env-loader/action.yaml index 8e065f1..b4860fa 100644 --- a/tools/env-loader/action.yaml +++ b/tools/env-loader/action.yaml @@ -61,12 +61,18 @@ runs: # Install the tool echo "Installing to ${INSTALL_DIR}..." + echo "DEBUG LOG" + echo "command -v sudo: $(command -v sudo)" + echo "Shell: ${SHELL:-NOT SET}" if ! command -v sudo; then # Ensure the sudo "command" exists + echo "Setting alias" alias sudo="" + else + echo "Not setting alias" fi sudo mkdir -pv -m 755 "${INSTALL_DIR}" - sudo tar -xzvf "${DOWNLOAD_PATH}" -C "${INSTALL_DIR}" "${TOOL_NAME}" + sudo tar -xzf "${DOWNLOAD_PATH}" -C "${INSTALL_DIR}" "${TOOL_NAME}" echo "${INSTALL_DIR}" >> "${GITHUB_PATH}" echo "Installation complete!"