Skip to content

Commit 119e979

Browse files
authored
Replaced windows-latest with windows-2019 to fix windows builds (#1833)
1 parent e3e317a commit 119e979

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/conda-package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
strategy:
6868
matrix:
6969
python: ['3.9', '3.10', '3.11']
70-
os: [ubuntu-20.04, windows-latest]
70+
os: [ubuntu-20.04, windows-2019]
7171

7272
permissions:
7373
# Needed to cancel any previous runs that are not completed for a given workflow
@@ -77,7 +77,7 @@ jobs:
7777

7878
defaults:
7979
run:
80-
shell: ${{ matrix.os == 'windows-latest' && 'cmd /C CALL {0}' || 'bash -l {0}' }}
80+
shell: ${{ matrix.os == 'windows-2019' && 'cmd /C CALL {0}' || 'bash -l {0}' }}
8181

8282
continue-on-error: true
8383

@@ -253,11 +253,11 @@ jobs:
253253
python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}
254254
255255
test_windows:
256-
name: Test ['windows-latest', python='${{ matrix.python }}']
256+
name: Test ['windows-2019', python='${{ matrix.python }}']
257257

258258
needs: build
259259

260-
runs-on: windows-latest
260+
runs-on: windows-2019
261261

262262
defaults:
263263
run:
@@ -409,7 +409,7 @@ jobs:
409409
strategy:
410410
matrix:
411411
python: ['3.9', '3.10', '3.11']
412-
os: [ubuntu-20.04, windows-latest]
412+
os: [ubuntu-20.04, windows-2019]
413413

414414
runs-on: ${{ matrix.os }}
415415

0 commit comments

Comments
 (0)