Skip to content

Commit

Permalink
force bin path
Browse files Browse the repository at this point in the history
  • Loading branch information
mbround18 committed Dec 14, 2023
1 parent 3972923 commit 2544737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/exec_auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
echo "::group::Run Auto"
set -o pipefail

BIN_PATH="${GITHUB_ACTION_PATH}/.bin/auto"
TMP_DIRECTORY="${GITHUB_ACTION_PATH}/.tmp"
OUTPUT_FILE="${TMP_DIRECTORY}/${GITHUB_RUN_ID:-"unknown"}-auto.out"
echo "OUTPUT_FILE=${OUTPUT_FILE}"
Expand All @@ -11,7 +12,7 @@ if ! [ -d "${TMP_DIRECTORY}" ]; then
mkdir -p "${TMP_DIRECTORY}"
fi

eval "auto ${1}" |& tee "${OUTPUT_FILE}"
eval "${BIN_PATH} ${1}" |& tee "${OUTPUT_FILE}"

AUTO_EXIT="$?"

Expand Down

0 comments on commit 2544737

Please sign in to comment.