Skip to content

Commit

Permalink
Properly evaluate the context of a jobs.<job_id>.steps.if step
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegrunwell committed Nov 24, 2020
1 parent 4a95e0d commit c03ee4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Configure PHP environment
uses: shivammathur/setup-php@v2
if: ${{ matrix.php }} >= 7.2
if: ${{ matrix.php >= '7.2' }}
with:
php-version: ${{ matrix.php }}
tools: pecl
Expand All @@ -30,7 +30,7 @@ jobs:

- name: Configure PHP environment (PHP 7.1 only)
uses: shivammathur/setup-php@v2
if: ${{ matrix.php }} == 7.1
if: ${{ matrix.php == '7.1' }}
with:
php-version: ${{ matrix.php }}
tools: pecl
Expand All @@ -40,7 +40,7 @@ jobs:

- name: Configure PHP environment (PHP 7.0 only)
uses: shivammathur/setup-php@v2
if: ${{ matrix.php }} == 7.0
if: ${{ matrix.php == '7.0' }}
with:
php-version: ${{ matrix.php }}
tools: pecl
Expand All @@ -50,7 +50,7 @@ jobs:

- name: Configure PHP environment (PHP 5.x only)
uses: shivammathur/setup-php@v2
if: ${{ matrix.php }} <= 5.6
if: ${{ matrix.php <= '5.6' }}
with:
php-version: ${{ matrix.php }}
tools: pecl
Expand Down

0 comments on commit c03ee4f

Please sign in to comment.