Skip to content

Commit

Permalink
fix post setup condition
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Jun 27, 2024
1 parent 40b708d commit 57e5fc2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,9 @@ runs:
shell: bash
run: |
echo "version=$(cat $PLAYDATE_SDK_PATH/VERSION.txt)" >> $GITHUB_OUTPUT
# ${{ (runner.os == 'Windows' && inputs.root-win-path != 'false') && 'echo "root=$(cygpath -w "$PLAYDATE_SDK_PATH")" >> $GITHUB_OUTPUT' }}
# ${{ (runner.os == 'Windows' && inputs.root-win-path) && 'echo "root=$(cygpath -w "$PLAYDATE_SDK_PATH")" >> $GITHUB_OUTPUT' }}
if [[ ${{ runner.os == 'Windows' }} && ${{ inputs.root-win-path }} ]];
then
if ${{ runner.os == 'Windows' }} && ${{ inputs.root-win-path }}; then
PLAYDATE_SDK_PATH=$(cygpath -w "$PLAYDATE_SDK_PATH")
echo "fix root path"
fi
Expand Down

0 comments on commit 57e5fc2

Please sign in to comment.