File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -51,16 +51,18 @@ jobs:
5151 composer validate
5252
5353 if [[ ${{env.PHP_VERSION}} == "5.6" || ${{env.PHP_VERSION}} == "7.0" ]]; then
54- export phpunit_version= 5.6.*
54+ echo "PHPUNIT_VERSION=$(echo 5.6.* | cut -c 1-6)" >> "$GITHUB_ENV"
5555 elif [[ ${{env.PHP_VERSION}} == "7.1" ]]; then
56- export phpunit_version= 5.7.*
56+ echo "PHPUNIT_VERSION=$(echo 5.7.* | cut -c 1-6)" >> "$GITHUB_ENV"
5757 elif [[ ${{env.PHP_VERSION}} == "7.2" ]]; then
58- export phpunit_version= 8.5.*
58+ echo "PHPUNIT_VERSION=$(echo 8.5.* | cut -c 1-6)" >> "$GITHUB_ENV"
5959 else
60- export phpunit_version= 9.5.*
60+ echo "PHPUNIT_VERSION=$(echo 9.5.* | cut -c 1-6)" >> "$GITHUB_ENV"
6161 fi
6262
63+ echo "${{env.PHPUNIT_VERSION}}"
64+
6365 - name : Composer Update
6466 run : |
65- echo "$phpunit_version "
67+ echo "${{env.PHPUNIT_VERSION}} "
6668 # composer require "phpunit/phpunit:$phpunit_version" --no-update
You can’t perform that action at this time.
0 commit comments