chore: fix multiple paths yml syntax
This commit is contained in:
36
.github/workflows/publish.yml
vendored
36
.github/workflows/publish.yml
vendored
@@ -31,13 +31,15 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-app-build
|
||||||
|
|
||||||
- name: Cache Yarn
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
uses: actions/cache@v3
|
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') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
@@ -78,13 +80,15 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-app-build
|
||||||
|
|
||||||
- name: Cache Yarn
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
uses: actions/cache@v3
|
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') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
@@ -128,13 +132,15 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-app-build
|
||||||
|
|
||||||
- name: Cache Yarn
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
uses: actions/cache@v3
|
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') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
@@ -178,13 +184,15 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-app-build
|
||||||
|
|
||||||
- name: Cache Yarn
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
uses: actions/cache@v3
|
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') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
@@ -228,13 +236,15 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-app-build
|
||||||
|
|
||||||
- name: Cache Yarn
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
uses: actions/cache@v3
|
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') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
@@ -302,13 +312,15 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: packages/**/dist
|
path: packages/**/dist
|
||||||
key: ${{ runner.os }}-workspace-build
|
key: ${{ runner.os }}-app-build
|
||||||
|
|
||||||
- name: Cache Yarn
|
- name: Cache Yarn
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
uses: actions/cache@v3
|
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') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
|
|||||||
Reference in New Issue
Block a user