Update php.yml
This commit is contained in:
parent
a4396ff9fe
commit
63ec76a0b0
|
@ -10,10 +10,10 @@ jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php: ['5.6.40']
|
php: ['5.6']
|
||||||
os: ['ubuntu-16.04']
|
os: ['ubuntu-16.04']
|
||||||
include:
|
include:
|
||||||
- php: '5.6.40'
|
- php: '5.6'
|
||||||
os: 'ubuntu-16.04'
|
os: 'ubuntu-16.04'
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
@ -30,9 +30,9 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: vendor
|
path: vendor
|
||||||
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
|
key: ${{ matrix.os }}-php-${{ hashFiles('**/composer.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-php-
|
${{ matrix.os }}-php-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.composer-cache.outputs.cache-hit != 'true'
|
if: steps.composer-cache.outputs.cache-hit != 'true'
|
||||||
|
|
Loading…
Reference in New Issue