Skip to content

Commit

Permalink
ci: fix PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense committed Feb 13, 2024
1 parent 43e80d4 commit cbccfee
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
repository: ${{ env.REMOTE_REPOSITORY }}
ref: ${{ inputs.ref || null }}
path: app/${{ inputs.project }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
extensions: intl, pdo_mysql, redis, mbstring
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -69,6 +74,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
extensions: intl, pdo_mysql, redis, mbstring
- name: Get composer cache directory
id: composer-cache
Expand Down Expand Up @@ -113,6 +119,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
extensions: intl, pdo_mysql, redis, mbstring
tools: ${{ matrix.task.tools }}
- name: Get composer cache directory
Expand Down Expand Up @@ -147,6 +154,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
extensions: intl, pdo_mysql, redis, mbstring
- name: Get composer cache directory
id: composer-cache
Expand Down

0 comments on commit cbccfee

Please sign in to comment.