diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 42ac6d6e..f4062b1b 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -26,7 +26,7 @@ jobs: uses: actions/cache@v1.0.0 with: path: ~/.composer/cache - key: php7.2-composer-locked-${{ hashFiles('**/composer.lock') }} + key: php7.2-composer-locked-${{ github.sha }} restore-keys: | php7.2-composer-locked- @@ -55,7 +55,7 @@ jobs: uses: actions/cache@v1.0.0 with: path: ~/.composer/cache - key: php7.3-composer-locked-${{ hashFiles('**/composer.lock') }} + key: php7.3-composer-locked-${{ github.sha }} restore-keys: | php7.3-composer-locked- @@ -92,7 +92,7 @@ jobs: uses: actions/cache@v1.0.0 with: path: ~/.composer/cache - key: ${{ matrix.php-binary }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }} + key: ${{ matrix.php-binary }}-composer-${{ matrix.dependencies }}-${{ github.sha }} restore-keys: | ${{ matrix.php-binary }}-composer-${{ matrix.dependencies }}- @@ -130,7 +130,7 @@ jobs: uses: actions/cache@v1.0.0 with: path: ~/.composer/cache - key: php7.3-composer-locked-${{ hashFiles('**/composer.lock') }} + key: php7.3-composer-locked-${{ github.sha }} restore-keys: | php7.3-composer-locked- @@ -161,7 +161,7 @@ jobs: uses: actions/cache@v1.0.0 with: path: ~/.composer/cache - key: php7.3-composer-locked-${{ hashFiles('**/composer.lock') }} + key: php7.3-composer-locked-${{ github.sha }} restore-keys: | php7.3-composer-locked-