Skip to content

Commit 96818a3

Browse files
committed
fix: clear github action cache
1 parent aa32626 commit 96818a3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/verify-app.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
3030
with:
3131
path: '**/node_modules'
32-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
32+
key: ${{ runner.os }}-yarn-reset-${{ hashFiles('**/yarn.lock') }}
3333

3434
- name: Install
3535
if: steps.yarn-cache.outputs.cache-hit != 'true'
@@ -49,7 +49,7 @@ jobs:
4949
id: yarn-cache
5050
with:
5151
path: '**/node_modules'
52-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
52+
key: ${{ runner.os }}-yarn-reset-${{ hashFiles('**/yarn.lock') }}
5353

5454
- name: Lint
5555
run: yarn linter:check
@@ -68,7 +68,7 @@ jobs:
6868
id: yarn-cache
6969
with:
7070
path: '**/node_modules'
71-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
71+
key: ${{ runner.os }}-yarn-reset-${{ hashFiles('**/yarn.lock') }}
7272

7373
- name: TypeScript
7474
run: yarn tsc:check
@@ -87,7 +87,7 @@ jobs:
8787
id: yarn-cache
8888
with:
8989
path: '**/node_modules'
90-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
90+
key: ${{ runner.os }}-yarn-reset-${{ hashFiles('**/yarn.lock') }}
9191

9292
- name: Unit tests
9393
run: yarn test
@@ -189,7 +189,7 @@ jobs:
189189
id: yarn-cache
190190
with:
191191
path: '**/node_modules'
192-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
192+
key: ${{ runner.os }}-yarn-reset-${{ hashFiles('**/yarn.lock') }}
193193

194194
- name: Build
195195
run: yarn build
@@ -223,7 +223,7 @@ jobs:
223223
id: yarn-cache
224224
with:
225225
path: '**/node_modules'
226-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
226+
key: ${{ runner.os }}-yarn-reset-${{ hashFiles('**/yarn.lock') }}
227227

228228
- uses: dhis2/action-semantic-release@use-yarn-version-prepare
229229
with:

0 commit comments

Comments
 (0)