Use env. variable instead of an expression in action.yml (fixes #7)

This is a workaround for backslashes being included in the path for
${{ github.action_path }} even when using bash on Windows.
This commit is contained in:
Ákos Kiss 2023-08-06 16:04:12 +02:00
parent 99efbd4524
commit 791d720749

View file

@ -217,7 +217,7 @@ runs:
echo ::group::Create Qlot Environment echo ::group::Create Qlot Environment
if [[ -n "${QLFILE_TEMPLATE}" ]]; then if [[ -n "${QLFILE_TEMPLATE}" ]]; then
echo "${QLFILE_TEMPLATE}" | ${{ github.action_path }}/templater.ros > qlfile echo "${QLFILE_TEMPLATE}" | $GITHUB_ACTION_PATH/templater.ros > qlfile
rm -f qlfile.lock rm -f qlfile.lock
fi fi