Skip to content

Commit 60ef99b

Browse files
authored
Make PHP Version configurable
1 parent f8dacbd commit 60ef99b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test-php.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
on:
22
workflow_call:
33
inputs:
4+
php_version:
5+
required: false
6+
type: string
7+
default: 8.1
48
php_extensions:
59
required: false
610
type: string
@@ -20,7 +24,7 @@ jobs:
2024
- name: Setup PHP, with composer and extensions
2125
uses: shivammathur/setup-php@v2
2226
with:
23-
php-version: 8.1
27+
php-version: ${{ inputs.php_version }}
2428
tools: composer:v2
2529
extensions: ${{ inputs.php_extensions }}
2630

0 commit comments

Comments
 (0)