chore: fix multiple paths yml syntax

This commit is contained in:
Karol Sójko
2022-10-14 13:10:30 +02:00
parent 846648ba25
commit cff1a753ad

View File

@@ -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-