Skip to content

Commit 8a4a967

Browse files
authored
Fix if condition for windows
1 parent 834e9b3 commit 8a4a967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
python-version: ${{ matrix.python-version }}
7171

7272
- name: Setup Environment variables
73-
if: ${{ matrix.os == 'ubuntu-latest' }} || ${{ matrix.os == 'macos-latest' }}
73+
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
7474
run: |
7575
if [ "macos-latest" == "${{ matrix.os }}" ]; then echo "TRAVIS_OS_NAME=osx" >> $GITHUB_ENV; else echo "TRAVIS_OS_NAME=${{ matrix.os }}" >> $GITHUB_ENV; fi
7676
if [ "schedule" == "${{ github.event_name }}" ]; then echo "TRAVIS_EVENT_TYPE=cron" >> $GITHUB_ENV; else echo "TRAVIS_EVENT_TYPE=${{ github.event_name }}" >> $GITHUB_ENV; fi
@@ -79,7 +79,7 @@ jobs:
7979
echo "TEST_DEPENDS=$(echo $NP_TEST_DEP)" >> $GITHUB_ENV;
8080
8181
- name: before install
82-
if: ${{ matrix.os == 'ubuntu-latest' }} || ${{ matrix.os == 'macos-latest' }}
82+
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
8383
run: |
8484
set -e
8585
if [[ $SDIST == 0 ]]; then

0 commit comments

Comments
 (0)