Skip to content

Commit

Permalink
Quote python bin in windows bash action (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi authored Mar 21, 2024
1 parent b25bb15 commit fbe9920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows/bash/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ runs:
echo "Python that creates venv: $PYTHON_BIN"
echo "PYTHON_BIN=$PYTHON_BIN" >> "$GITHUB_ENV"
PYTHON_VERSION="$($PYTHON_BIN -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')"
PYTHON_VERSION="$("$PYTHON_BIN" -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')"
if [[ "$PYTHON_VERSION" == "3.7" ]]
then
echo "DEPENDENCIES_VERSION=3.7" >> "$GITHUB_ENV"
Expand Down

0 comments on commit fbe9920

Please sign in to comment.