|
13 | 13 | env: |
14 | 14 | VERSIONS_FILEPATH: .github/workflows/supported-versions.json |
15 | 15 | outputs: |
16 | | - php-min-version: ${{ steps.parse-versions.outputs.php-min-version }} |
17 | | - php-max-version: ${{ steps.parse-versions.outputs.php-max-version }} |
18 | | - php-next-version: ${{ steps.parse-versions.outputs.php-next-version }} |
| 16 | + php-min: ${{ steps.parse-versions.outputs.php-min-version }} |
| 17 | + php-max: ${{ steps.parse-versions.outputs.php-max-version }} |
| 18 | + php-next: ${{ steps.parse-versions.outputs.php-next-version }} |
19 | 19 | runs-on: ubuntu-latest |
20 | 20 | steps: |
21 | 21 | - name: Check out supported version file |
@@ -44,17 +44,17 @@ jobs: |
44 | 44 | matrix: |
45 | 45 | include: |
46 | 46 | - job-name: Up to date versions # => Highest versions allowed by composer config |
47 | | - php-version: '${{ needs.fetch-supported-versions.outputs.php-max-version }}' |
| 47 | + php-version: '${{ needs.fetch-supported-versions.outputs.php-max }}' |
48 | 48 | - job-name: Bare minimum # => Lowest versions allowed by composer config |
49 | | - php-version: '${{ needs.fetch-supported-versions.outputs.php-min-version }}' |
| 49 | + php-version: '${{ needs.fetch-supported-versions.outputs.php-min }}' |
50 | 50 | steps: |
51 | 51 | - name: Check out code |
52 | 52 | uses: actions/checkout@v5 |
53 | 53 |
|
54 | 54 | # Enable coverage only for specific version(s) ! |
55 | 55 | # Usually highest version(s), plus additional ones in case of code used only with specific versions |
56 | 56 | - name: Enable coverage |
57 | | - if: ${{ matrix.php-version == needs.fetch-supported-versions.outputs.php-max-version }} |
| 57 | + if: ${{ matrix.php-version == needs.fetch-supported-versions.outputs.php-max }} |
58 | 58 | run: | |
59 | 59 | echo "COVERAGE_TYPE=xdebug" >> $GITHUB_ENV |
60 | 60 |
|
@@ -126,7 +126,7 @@ jobs: |
126 | 126 | needs: [fetch-supported-versions] |
127 | 127 | runs-on: ubuntu-latest |
128 | 128 | env: |
129 | | - PHP_VERSION: ${{ needs.fetch-supported-versions.outputs.php-max-version }} |
| 129 | + PHP_VERSION: ${{ needs.fetch-supported-versions.outputs.php-max }} |
130 | 130 | steps: |
131 | 131 | - uses: actions/checkout@v5 |
132 | 132 |
|
@@ -169,7 +169,7 @@ jobs: |
169 | 169 | runs-on: ubuntu-latest |
170 | 170 | continue-on-error: true |
171 | 171 | env: |
172 | | - PHP_VERSION: ${{ needs.fetch-supported-versions.outputs.php-next-version }} |
| 172 | + PHP_VERSION: ${{ needs.fetch-supported-versions.outputs.php-next }} |
173 | 173 | COMPOSER_IGNORE_PLATFORM_REQ: 'php+' |
174 | 174 | steps: |
175 | 175 | - name: Check out code |
|
0 commit comments