Skip to content

Commit 12048b5

Browse files
pass three-digit python version
1 parent 71e61f4 commit 12048b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/qt5_6.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ jobs:
122122
123123
echo '::group::Install official Python'
124124
# We need the official Python, because the GA ones only support newer macOS versions
125-
export PYTHON_VERSION=$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2)
126-
wget https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg
127-
sudo installer -pkg ./${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg -target /
125+
export PYTHON_VERSION=$(python3 --version | cut -d' ' -f2)
126+
wget -O ${{ github.workspace }}/python.pkg https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg
127+
sudo installer -pkg ${{ github.workspace }}/python.pkg -target /
128128
python3 --version
129129
echo '::endgroup::'
130130

0 commit comments

Comments
 (0)