Skip to content

Commit

Permalink
Extensions change invalidates extensions cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Sep 10, 2020
1 parent c2047ed commit 38c9b39
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:

env:
extensions: "json intl"
cacheVersion: "1"

jobs:
coding-standard:
Expand All @@ -33,7 +32,7 @@ jobs:
with:
php-version: "${{ matrix.php-versions }}"
extensions: "${{ env.extensions }}"
key: "${{ env.cacheVersion }}"
key: "${{ env.extensions }}"

- name: "Cache PHP extensions"
uses: "actions/cache@v2"
Expand Down Expand Up @@ -98,7 +97,7 @@ jobs:
with:
php-version: "${{ matrix.php-versions }}"
extensions: "${{ env.extensions }}"
key: "${{ env.cacheVersion }}"
key: "${{ env.extensions }}"

- name: "Cache PHP extensions"
uses: "actions/cache@v2"
Expand Down Expand Up @@ -163,7 +162,7 @@ jobs:
with:
php-version: "${{ matrix.php-versions }}"
extensions: "${{ env.extensions }}"
key: "${{ env.cacheVersion }}"
key: "${{ env.extensions }}"

- name: "Cache PHP extensions"
uses: "actions/cache@v2"
Expand Down Expand Up @@ -221,7 +220,7 @@ jobs:
with:
php-version: "${{ matrix.php-versions }}"
extensions: "${{ env.extensions }}"
key: "${{ env.cacheVersion }}"
key: "${{ env.extensions }}"

- name: "Cache PHP extensions"
uses: "actions/cache@v2"
Expand Down Expand Up @@ -280,7 +279,7 @@ jobs:
with:
php-version: "${{ matrix.php-versions }}"
extensions: "${{ env.extensions }}"
key: "${{ env.cacheVersion }}"
key: "${{ env.extensions }}"

- name: "Cache PHP extensions"
uses: "actions/cache@v2"
Expand Down

0 comments on commit 38c9b39

Please sign in to comment.