Skip to content

Commit e0dedbc

Browse files
[BUGFIX] Set older PHP version not supported in ubuntu-latest image
1 parent 537bb6a commit e0dedbc

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,24 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
typo3: [^10.4, dev-master]
13-
php: ['7.2', '7.3', '7.4']
13+
php: ['7.4']
14+
include:
15+
- typo3: ^10.4
16+
php: '7.4'
17+
- typo3: ^10.4
18+
php: '7.3'
19+
- typo3: ^10.4
20+
php: '7.2'
21+
- typo3: dev-master
22+
php: '7.4'
1423

1524
steps:
1625
- uses: actions/checkout@v2
1726

18-
- name: Set up PHP Version
19-
run: |
20-
sudo update-alternatives --set php /usr/bin/php${{ matrix.php }}
21-
php -v
27+
- name: Setup PHP ${{ matrix.php }}
28+
uses: shivammathur/setup-php@v2
29+
with:
30+
php-version: ${{ matrix.php }}
2231

2332
- name: Update Composer
2433
run: |

0 commit comments

Comments
 (0)