GitHub Actions: add more parenthesis

https://github.community/t/and-operator-in-if-condition/154825
suggests that adding more parens might work.
This commit is contained in:
Sajith Sasidharan 2021-04-27 16:21:22 -04:00
parent 3722b8f628
commit 6d1b95b965
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ jobs:
# because I could not figure out the right GitHub Actions # because I could not figure out the right GitHub Actions
# expression to do this in a better way. # expression to do this in a better way.
- name: Set up Python ${{ matrix.python-version }} [Windows x64] - name: Set up Python ${{ matrix.python-version }} [Windows x64]
if: ${{ matrix.os == 'windows-latest' && matrix.python-version == '3.6' }} if: ${{ ( matrix.os == 'windows-latest' ) && ( matrix.python-version == '3.6' ) }}
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
@ -58,7 +58,7 @@ jobs:
# an option anymore. So let us just test with 32-bit Python on # an option anymore. So let us just test with 32-bit Python on
# Windows. # Windows.
- name: Set up Python ${{ matrix.python-version }} [Windows x86] - 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 uses: actions/setup-python@v1
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}