From 57e6f0f56deb30c362e4aea35753645afd282c74 Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Wed, 10 Jun 2020 01:53:41 +0200 Subject: [PATCH] Replace "startsWith(matrix.os, 'windows')" by "runner.os == 'Windows'" in GitHub Actions configurations --- .github/workflows/test.yml | 2 +- examples/github-deploy.yml | 2 +- examples/github-minimal.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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