Skip to content

Commit

Permalink
on utilise shivammathur/setup-php@v2 vu que sur ubuntu-18.04 on a pas…
Browse files Browse the repository at this point in the history
… php 5.6
  • Loading branch information
agallou committed Sep 21, 2021
1 parent 9fb18b2 commit 357a342
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: PHP - Switch
run: sudo update-alternatives --set php /usr/bin/php${{ matrix.php }}
- name: Setup PHP with tools
uses: shivammathur/setup-php@v2
with:
php-version: '{{ matrix.php }}'

- name: Composer - Get Cache Directory
id: composer-cache
Expand Down Expand Up @@ -47,8 +49,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: PHP - Switch
run: sudo update-alternatives --set php /usr/bin/php5.6
- name: Setup PHP with tools
uses: shivammathur/setup-php@v2
with:
php-version: '5.6'

- name: Composer - Get Cache Directory
id: composer-cache
Expand Down

0 comments on commit 357a342

Please sign in to comment.