Skip to content

Commit 96d3089

Browse files
committed
use the matrix defined PHP version for composer
1 parent 570cc4d commit 96d3089

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
dev: yes
5454
args: --prefer-dist --no-interaction
55-
php_version: 7.4
55+
php_version: ${{ matrix.php-version }}
5656
php_extensions: xml
5757
version: 2
5858

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
php-version: ['7.2', '7.2', '7.3', '7.4', '8.0']
14+
php-version: ['7.2', '7.2', '7.3', '7.4']
1515
experimental: [false]
1616
include:
17+
- php-version: 8.0
18+
experimental: true
1719
- php-version: 8.1
1820
experimental: true
1921

@@ -44,7 +46,7 @@ jobs:
4446
with:
4547
dev: yes
4648
args: --prefer-dist --no-interaction
47-
php_version: 7.4
49+
php_version: ${{ matrix.php-version }}
4850
php_extensions: xml
4951
version: 2
5052

0 commit comments

Comments
 (0)