1
0
Fork 0

Use latest cache action

pull/9131/head
Graham Campbell 2020-08-18 10:23:09 +01:00
parent 0eebdcf2e6
commit f5c2bdb783
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ jobs:
run: "echo \"::set-output name=directory::$(composer config cache-dir)\"" run: "echo \"::set-output name=directory::$(composer config cache-dir)\""
- name: "Cache dependencies installed with composer" - name: "Cache dependencies installed with composer"
uses: "actions/cache@v1" uses: "actions/cache@v2"
with: with:
path: "${{ steps.determine-composer-cache-directory.outputs.directory }}" path: "${{ steps.determine-composer-cache-directory.outputs.directory }}"
key: "php-${{ matrix.php-version }}-symfony-php-unit-version-${{ env.SYMFONY_PHPUNIT_VERSION }}-${{ hashFiles('**/composer.lock') }}" key: "php-${{ matrix.php-version }}-symfony-php-unit-version-${{ env.SYMFONY_PHPUNIT_VERSION }}-${{ hashFiles('**/composer.lock') }}"

View File

@ -40,7 +40,7 @@ jobs:
run: "echo \"::set-output name=directory::$(composer config cache-dir)\"" run: "echo \"::set-output name=directory::$(composer config cache-dir)\""
- name: "Cache dependencies installed with composer" - name: "Cache dependencies installed with composer"
uses: "actions/cache@v1" uses: "actions/cache@v2"
with: with:
path: "${{ steps.determine-composer-cache-directory.outputs.directory }}" path: "${{ steps.determine-composer-cache-directory.outputs.directory }}"
key: "php-${{ matrix.php-version }}-symfony-php-unit-version-${{ env.SYMFONY_PHPUNIT_VERSION }}-${{ hashFiles('**/composer.lock') }}" key: "php-${{ matrix.php-version }}-symfony-php-unit-version-${{ env.SYMFONY_PHPUNIT_VERSION }}-${{ hashFiles('**/composer.lock') }}"