Replace "startsWith(matrix.os, 'windows')" by "runner.os == 'Windows'" in GitHub Actions configurations
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install -r requirements-dev.txt
|
python -m pip install -r requirements-dev.txt
|
||||||
- name: Install Visual C++ for Python 2.7
|
- name: Install Visual C++ for Python 2.7
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
choco install vcpython27 -f -y
|
choco install vcpython27 -f -y
|
||||||
- name: Test cibuildwheel
|
- name: Test cibuildwheel
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
python -m pip install cibuildwheel==1.4.2
|
python -m pip install cibuildwheel==1.4.2
|
||||||
|
|
||||||
- name: Install Visual C++ for Python 2.7
|
- name: Install Visual C++ for Python 2.7
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
choco install vcpython27 -f -y
|
choco install vcpython27 -f -y
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
python -m pip install cibuildwheel==1.4.2
|
python -m pip install cibuildwheel==1.4.2
|
||||||
|
|
||||||
- name: Install Visual C++ for Python 2.7
|
- name: Install Visual C++ for Python 2.7
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
choco install vcpython27 -f -y
|
choco install vcpython27 -f -y
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user