diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54aeb357..b2e28e08 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install -r requirements-dev.txt - name: Install Visual C++ for Python 2.7 - if: startsWith(matrix.os, 'windows') + if: runner.os == 'Windows' run: | choco install vcpython27 -f -y - name: Test cibuildwheel diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index 54c4c2bc..b3d3fc04 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -28,7 +28,7 @@ jobs: python -m pip install cibuildwheel==1.4.2 - name: Install Visual C++ for Python 2.7 - if: startsWith(matrix.os, 'windows') + if: runner.os == 'Windows' run: | choco install vcpython27 -f -y diff --git a/examples/github-minimal.yml b/examples/github-minimal.yml index 3b1795f2..8501cb84 100644 --- a/examples/github-minimal.yml +++ b/examples/github-minimal.yml @@ -23,7 +23,7 @@ jobs: python -m pip install cibuildwheel==1.4.2 - name: Install Visual C++ for Python 2.7 - if: startsWith(matrix.os, 'windows') + if: runner.os == 'Windows' run: | choco install vcpython27 -f -y