diff --git a/.github/workflows/win64_release.yml b/.github/workflows/win64_release.yml index afbb23f859..4ccb6fc450 100644 --- a/.github/workflows/win64_release.yml +++ b/.github/workflows/win64_release.yml @@ -194,7 +194,7 @@ jobs: shell: bash run: | set -x - export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v "/mingw64/bin" | tr '\n' ':') + export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v "/mingw64/bin" | grep -v "/c/hostedtoolcache/windows/Python${{ env.PYTHON_VERSION }}" | tr '\n' ':') export PATH="${PATH%:}:${{ env.MINGW_DIR }}/bin" qmake.exe \ "QMAKE_CXX=${{ env.GXX_COMMAND }}" \