Skip to content

Commit

Permalink
Merge pull request #8 from reecetech/debug-branch
Browse files Browse the repository at this point in the history
Fix path env variable for windows runners
  • Loading branch information
ps-jay authored Jul 12, 2022
2 parents 7b86495 + 1a3c53c commit da7fce8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ runs:
CHECKOUT: ${{ inputs.checkout }}
DIRECTION: ${{ inputs.direction }}
NAME: ${{ inputs.name }}
PATH: ${{ inputs.path }}
DIR_PATH: ${{ inputs.path }}
LFS: ${{ inputs.checkout-lfs }}
run: |
set -euo pipefail
Expand Down Expand Up @@ -87,8 +87,8 @@ runs:
fi
fi
if [[ -n "${PATH:-}" ]] ; then
echo "::set-output name=path::${PATH}"
if [[ -n "${DIR_PATH:-}" ]] ; then
echo "::set-output name=path::${DIR_PATH}"
else
if [[ "${CHECKOUT}" == 'true' ]] ; then
echo "::set-output name=path::./.git/"
Expand Down

0 comments on commit da7fce8

Please sign in to comment.