chore: yarn cache syntax
This commit is contained in:
18
.github/workflows/publish.yml
vendored
18
.github/workflows/publish.yml
vendored
@@ -26,8 +26,9 @@ jobs:
|
|||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-workspace-build
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
@@ -72,8 +73,9 @@ jobs:
|
|||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-workspace-build
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
@@ -121,8 +123,9 @@ jobs:
|
|||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-workspace-build
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
@@ -170,8 +173,9 @@ jobs:
|
|||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-workspace-build
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
@@ -219,8 +223,9 @@ jobs:
|
|||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-workspace-build
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
@@ -292,8 +297,9 @@ jobs:
|
|||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-workspace-build
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user