Skip to content

Commit

Permalink
pass variables to workspace select
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Dec 29, 2024
1 parent bc0ecb4 commit a271ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image/actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ function init-backend-default-workspace() {
function select-workspace() {
local WORKSPACE_EXIT

debug_log $TOOL_COMMAND_NAME workspace select "$INPUT_WORKSPACE"
debug_log $TOOL_COMMAND_NAME workspace select '$VARIABLE_ARGS' "$INPUT_WORKSPACE" # don't expand VARIABLE_ARGS
set +e
(cd "$INPUT_PATH" && $TOOL_COMMAND_NAME workspace select "$INPUT_WORKSPACE") >"$STEP_TMP_DIR/workspace_select" 2>&1
(cd "$INPUT_PATH" && $TOOL_COMMAND_NAME workspace select "$VARIABLE_ARGS" "$INPUT_WORKSPACE") >"$STEP_TMP_DIR/workspace_select" 2>&1
WORKSPACE_EXIT=$?
set -e

Expand Down

0 comments on commit a271ae9

Please # to comment.