|
|
@ -25,8 +25,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
- name: Get composer cache directory |
|
|
|
- name: Get composer cache directory |
|
|
|
id: composer-cache |
|
|
|
id: composer-cache |
|
|
|
run: | |
|
|
|
run: echo "::set-output name=dir::$(composer config cache-files-dir)" |
|
|
|
echo "::set-output name=dir::$(composer config cache-files-dir)" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Cache composer dependencies |
|
|
|
- name: Cache composer dependencies |
|
|
|
uses: actions/cache@v2 |
|
|
|
uses: actions/cache@v2 |
|
|
@ -35,8 +34,6 @@ jobs: |
|
|
|
# Use composer.json for key, if composer.lock is not committed. |
|
|
|
# Use composer.json for key, if composer.lock is not committed. |
|
|
|
# key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} |
|
|
|
# key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} |
|
|
|
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} |
|
|
|
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} |
|
|
|
restore-keys: | |
|
|
|
|
|
|
|
${{ runner.os }}-composer- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install dependencies with composer |
|
|
|
- name: Install dependencies with composer |
|
|
|
run: composer install --prefer-dist --no-progress --optimize-autoloader |
|
|
|
run: composer install --prefer-dist --no-progress --optimize-autoloader |
|
|
|