We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66535ac commit 2d1f06dCopy full SHA for 2d1f06d
.github/workflows/basemap-for-windows.yml
@@ -87,11 +87,23 @@ jobs:
87
with:
88
python-version: "${{ matrix.python-version }}"
89
architecture: ${{ matrix.arch }}
90
+ -
91
+ name: Define MSVC toolchain version
92
+ run: |
93
+ if ("${{ matrix.python-version }}" -lt "3.3") {
94
+ Set-Variable -Name "vcversion" -Value "9.0"
95
+ } elseif ("${{ matrix.python-version }}" -lt "3.5") {
96
+ Set-Variable -Name "vcversion" -Value "10.0"
97
+ } else {
98
+ Set-Variable -Name "vcversion" -Value "14.x"
99
+ }
100
+ echo "VCVERSION=${vcversion}" >> ${GITHUB_ENV}
101
-
102
name: Install MSVC toolchain
103
uses: ilammy/msvc-dev-cmd@v1
104
105
arch: ${{ matrix.arch }}
106
+ toolset: ${{ env.VCVERSION }}
107
108
name: Install Python base packages
109
run: |
0 commit comments