Skip to content

Commit f54cd41

Browse files
committed
Use windows-latest in GH CI
1 parent df3c37a commit f54cd41

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
pytest -v --pyargs ${{ env.PACKAGE_NAME }}
143143
144144
build_windows:
145-
runs-on: windows-2019
145+
runs-on: windows-2022
146146

147147
strategy:
148148
matrix:
@@ -190,6 +190,9 @@ jobs:
190190
conda install -y conda-build python=3.12
191191
conda list -n base
192192
193+
- name: Setup MSVC
194+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
195+
193196
- name: Build conda package
194197
run: |
195198
conda activate
@@ -211,7 +214,7 @@ jobs:
211214
matrix:
212215
python: ["3.9", "3.10", "3.11", "3.12"]
213216
experimental: [false]
214-
runner: [windows-2019]
217+
runner: [windows-2022]
215218
continue-on-error: ${{ matrix.experimental }}
216219
env:
217220
workdir: '${{ github.workspace }}'

0 commit comments

Comments
 (0)