Skip to content

Commit

Permalink
Show PHP version from build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin committed Nov 15, 2023
1 parent 1f01a28 commit 499fa10
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- name: Check the PHP version
run: php -v

- name: Print PHP version
run: echo ${{ steps.setup-php.outputs.php-version }}

- name: Validate composer.json and composer.lock
run: composer validate --strict

Expand All @@ -42,8 +45,8 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Install third-party Composer packages
run: composer require league/container:~2.4 nikic/fast-route:~2.1 phroute/phroute zendframework/zend-diactoros zendframework/zend-stratigility http-interop/http-middleware
# - name: Install third-party Composer packages
# run: composer require league/container:~2.4 nikic/fast-route:~2.1 phroute/phroute zendframework/zend-diactoros zendframework/zend-stratigility http-interop/http-middleware

# - name: Install Composer packages for PHP 7.1
# if: ${{ steps.setup-php.outputs.php-version == '7.1' }}
Expand Down

0 comments on commit 499fa10

Please sign in to comment.