diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 47927676e4e7..177eefc7b19f 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -67,7 +67,7 @@ jobs: strategy: matrix: python: ['3.9', '3.10', '3.11'] - os: [ubuntu-20.04, windows-latest] + os: [ubuntu-20.04, windows-2019] permissions: # Needed to cancel any previous runs that are not completed for a given workflow @@ -77,7 +77,7 @@ jobs: defaults: run: - shell: ${{ matrix.os == 'windows-latest' && 'cmd /C CALL {0}' || 'bash -l {0}' }} + shell: ${{ matrix.os == 'windows-2019' && 'cmd /C CALL {0}' || 'bash -l {0}' }} continue-on-error: true @@ -253,11 +253,11 @@ jobs: python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }} test_windows: - name: Test ['windows-latest', python='${{ matrix.python }}'] + name: Test ['windows-2019', python='${{ matrix.python }}'] needs: build - runs-on: windows-latest + runs-on: windows-2019 defaults: run: @@ -409,7 +409,7 @@ jobs: strategy: matrix: python: ['3.9', '3.10', '3.11'] - os: [ubuntu-20.04, windows-latest] + os: [ubuntu-20.04, windows-2019] runs-on: ${{ matrix.os }}