diff --git a/.github/workflows/win64_release.yml b/.github/workflows/win64_release.yml index 4ccb6fc450..2da9572410 100644 --- a/.github/workflows/win64_release.yml +++ b/.github/workflows/win64_release.yml @@ -180,6 +180,7 @@ jobs: shell: bash run: | set -x + # Exclude pre-installed mingw from PATH to avoid symbol conflicts at final linking export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v "/mingw64/bin" | tr '\n' ':') export PATH="${PATH%:}:${{ env.MINGW_DIR }}/bin" qmake.exe \ @@ -194,6 +195,7 @@ jobs: shell: bash run: | set -x + # Exclude pre-installed mingw and python from PATH to avoid symbol conflicts at final linking 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 \