Skip to content

Commit

Permalink
Merge pull request #135 from localheinz/fix/sha
Browse files Browse the repository at this point in the history
Fix: Use commit hash to calculate cache key
  • Loading branch information
localheinz authored Nov 7, 2019
2 parents 15fee3f + 199d105 commit 10d2816
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/[email protected]
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-
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
uses: actions/[email protected]
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-
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
uses: actions/[email protected]
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 }}-
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
uses: actions/[email protected]
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-
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
uses: actions/[email protected]
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-
Expand Down

0 comments on commit 10d2816

Please sign in to comment.