Skip to content

Commit b82beed

Browse files
authored
Merge pull request #109 from wp-cli/fix-workflow-step-id
2 parents 0ca5afc + bed9720 commit b82beed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/reusable-testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ jobs:
245245
run: echo "VERSION=$(vendor/bin/phpunit --version | grep --only-matching --max-count=1 --extended-regexp '\b[0-9]+\.[0-9]+')" >> $GITHUB_OUTPUT
246246

247247
- name: Determine PHPUnit flavour
248-
id: phpunit_version
248+
id: phpunit_flavour
249249
run: |
250250
if [ startsWith( steps.phpunit_version.outputs.VERSION, '10.' ) }}" == "true" ]; then
251251
echo 'FLAVOUR=gte10' >> $GITHUB_OUTPUT
@@ -256,7 +256,7 @@ jobs:
256256
# PHPUnit 10 may fail a test run when the "old" configuration format is used.
257257
# Luckily, there is a build-in migration tool since PHPUnit 9.3.
258258
- name: Migrate PHPUnit configuration for PHPUnit 10+
259-
if: ${{ steps.phpunit_version.outputs.FLAVOUR == 'gte10' }}
259+
if: ${{ steps.phpunit_flavour.outputs.FLAVOUR == 'gte10' }}
260260
continue-on-error: true
261261
run: composer phpunit -- --migrate-configuration
262262

0 commit comments

Comments
 (0)