@@ -71,22 +71,27 @@ jobs:
7171 ${{ matrix.update-constraints }}
7272
7373 - name : Set PHPUnit schema version
74- id : phpunit-version
74+ id : set- phpunit-version
7575 run : |
76- echo "PHPUNIT_SCHEMA_VERSION=$(composer print-phpunit-schema-version)" >> $GITHUB_OUTPUT
76+ echo "PHPUNIT_SCHEMA_VERSION=$(composer print-phpunit-schema-version)" >> "$GITHUB_OUTPUT"
77+
78+ - name : Show PHPUnit schema version
79+ id : show-phpunit-version
80+ run : |
81+ echo "PHPUNIT_SCHEMA_VERSION=${{ steps.set-phpunit-version.outputs.PHPUNIT_SCHEMA_VERSION }}"
7782
7883 - name : Run tests
79- if : ${{ matrix.os != 'windows-latest' && steps.phpunit-version.outputs.PHPUNIT_SCHEMA_VERSION != '10.0' }}
84+ if : ${{ matrix.os != 'windows-latest' && steps.set- phpunit-version.outputs.PHPUNIT_SCHEMA_VERSION != '10.0' }}
8085 run : composer test
8186
8287 - name : Run tests (phpunit10.0)
83- if : ${{ matrix.os != 'windows-latest' && steps.phpunit-version.outputs.PHPUNIT_SCHEMA_VERSION == '10.0' }}
88+ if : ${{ matrix.os != 'windows-latest' && steps.set- phpunit-version.outputs.PHPUNIT_SCHEMA_VERSION == '10.0' }}
8489 run : composer test-phpunit10.0
8590
8691 - name : Run tests (windows)
87- if : ${{ matrix.os == 'windows-latest' && steps.phpunit-version.outputs.PHPUNIT_SCHEMA_VERSION != '10.0' }}
92+ if : ${{ matrix.os == 'windows-latest' && steps.set- phpunit-version.outputs.PHPUNIT_SCHEMA_VERSION != '10.0' }}
8893 run : composer test-windows
8994
9095 - name : Run tests (windows-phpunit10.0)
91- if : ${{ matrix.os == 'windows-latest' && steps.phpunit-version.outputs.PHPUNIT_SCHEMA_VERSION == '10.0' }}
96+ if : ${{ matrix.os == 'windows-latest' && steps.set- phpunit-version.outputs.PHPUNIT_SCHEMA_VERSION == '10.0' }}
9297 run : composer test-windows-phpunit10.0
0 commit comments