Skip to content

Commit ef69d2e

Browse files
committed
Improve
1 parent a4a05c3 commit ef69d2e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/reusable-CI-workflow.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
env:
1414
VERSIONS_FILEPATH: .github/workflows/supported-versions.json
1515
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 }}
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Check out supported version file
@@ -44,17 +44,17 @@ jobs:
4444
matrix:
4545
include:
4646
- 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 }}'
4848
- 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 }}'
5050
steps:
5151
- name: Check out code
5252
uses: actions/checkout@v5
5353

5454
# Enable coverage only for specific version(s) !
5555
# Usually highest version(s), plus additional ones in case of code used only with specific versions
5656
- 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 }}
5858
run: |
5959
echo "COVERAGE_TYPE=xdebug" >> $GITHUB_ENV
6060
@@ -126,7 +126,7 @@ jobs:
126126
needs: [fetch-supported-versions]
127127
runs-on: ubuntu-latest
128128
env:
129-
PHP_VERSION: ${{ needs.fetch-supported-versions.outputs.php-max-version }}
129+
PHP_VERSION: ${{ needs.fetch-supported-versions.outputs.php-max }}
130130
steps:
131131
- uses: actions/checkout@v5
132132

@@ -169,7 +169,7 @@ jobs:
169169
runs-on: ubuntu-latest
170170
continue-on-error: true
171171
env:
172-
PHP_VERSION: ${{ needs.fetch-supported-versions.outputs.php-next-version }}
172+
PHP_VERSION: ${{ needs.fetch-supported-versions.outputs.php-next }}
173173
COMPOSER_IGNORE_PLATFORM_REQ: 'php+'
174174
steps:
175175
- name: Check out code

0 commit comments

Comments
 (0)