diff --git a/action.yml b/action.yml index 5ccb982..1d110b7 100644 --- a/action.yml +++ b/action.yml @@ -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