GitHub Actions: when in doubt, throw in more parens

This commit is contained in:
Sajith Sasidharan 2021-04-26 13:14:28 -04:00
parent 106976e8cc
commit ed82119f32

View File

@ -35,7 +35,7 @@ jobs:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
if: ${{ matrix.os != 'windows-latest' && matrix.python-version != '2.7' }}
if: ${{ ( matrix.os != 'windows-latest' && matrix.python-version != '2.7' ) }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
@ -45,7 +45,7 @@ jobs:
# vcpython27 compiler, building a netifaces wheel is not an
# option anymore, so let us test on 32-bit Windows.
- name: Set up Python ${{ matrix.python-version }} [Windows x86]
if: ${{ matrix.os == 'windows-latest' && matrix.python-version == '2.7' }}
if: ${{ ( matrix.os == 'windows-latest' && matrix.python-version == '2.7' ) }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
@ -187,14 +187,14 @@ jobs:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
if: ${{ matrix.os != 'windows-latest' && matrix.python-version != '2.7' }}
if: ${{ ( matrix.os != 'windows-latest' && matrix.python-version != '2.7' ) }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
# See this step under coverage job.
- name: Set up Python ${{ matrix.python-version }} [Windows x86]
if: ${{ matrix.os == 'windows-latest' && matrix.python-version == '2.7' }}
if: ${{ ( matrix.os == 'windows-latest' && matrix.python-version == '2.7' ) }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
@ -251,14 +251,14 @@ jobs:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
if: ${{ matrix.os != 'windows-latest' && matrix.python-version != '2.7' }}
if: ${{ ( matrix.os != 'windows-latest' && matrix.python-version != '2.7' ) }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
# See this step under coverage job.
- name: Set up Python ${{ matrix.python-version }} [Windows x86]
if: ${{ matrix.os == 'windows-latest' && matrix.python-version == '2.7' }}
if: ${{ ( matrix.os == 'windows-latest' && matrix.python-version == '2.7' ) }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}