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 ddeab97 commit a221119
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/parse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ echo "::group::Parse Auto"
set -o pipefail
echo "Parsing auto output..."

cd "$(dirname "$0")" || exit 1


DEFAULT_FILE="${GITHUB_ACTION_PATH}/.tmp/${GITHUB_RUN_ID:-"unknown"}-auto.out"
echo "cd $(dirname "$0")"
cd "$(dirname "$0")" || exit 1
TEMP_DIRECTORY="${GITHUB_ACTION_PATH}/.tmp"
TEMP_DIRECTORY="$(realpath "${TEMP_DIRECTORY}")"
DEFAULT_FILE="${TEMP_DIRECTORY}/${GITHUB_RUN_ID:-"unknown"}-auto.out"
FILE="${1:-"${DEFAULT_FILE}"}"
FILE="$(realpath "${FILE}")"
echo "FILE=${FILE}"

if [ -z "${FILE}" ]; then
Expand Down

0 comments on commit a221119

Please sign in to comment.