Skip to content

Commit 8935762

Browse files
Use environment variable to configure stable version of PHP
1 parent 29380f0 commit 8935762

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ name: CI
1010

1111
env:
1212
COMPOSER_ROOT_VERSION: "8.5.x-dev"
13+
PHP_VERSION: 8.4
1314

1415
permissions:
1516
contents: read
@@ -27,7 +28,7 @@ jobs:
2728
- name: Install PHP
2829
uses: shivammathur/setup-php@v2
2930
with:
30-
php-version: 8.3
31+
php-version: ${{ env.PHP_VERSION }}
3132
extensions: none, curl, dom, json, libxml, mbstring, openssl, phar, soap, tokenizer, xml, xmlwriter
3233
coverage: none
3334
tools: none
@@ -52,7 +53,7 @@ jobs:
5253
- name: Install PHP
5354
uses: shivammathur/setup-php@v2
5455
with:
55-
php-version: 8.4
56+
php-version: ${{ env.PHP_VERSION }}
5657
extensions: none, iconv, json, phar, tokenizer
5758
coverage: none
5859
tools: none

0 commit comments

Comments
 (0)