Skip to content

Commit

Permalink
chore: fix multiple paths yml syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol Sójko committed Oct 14, 2022
1 parent 846648b commit cff1a75
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@ jobs:
uses: actions/cache@v3
with:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build
key: ${{ runner.os }}-app-build

- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
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') }}
restore-keys: |
${{ runner.os }}-yarn-
Expand Down Expand Up @@ -78,13 +80,15 @@ jobs:
uses: actions/cache@v3
with:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build
key: ${{ runner.os }}-app-build

- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
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') }}
restore-keys: |
${{ runner.os }}-yarn-
Expand Down Expand Up @@ -128,13 +132,15 @@ jobs:
uses: actions/cache@v3
with:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build
key: ${{ runner.os }}-app-build

- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
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') }}
restore-keys: |
${{ runner.os }}-yarn-
Expand Down Expand Up @@ -178,13 +184,15 @@ jobs:
uses: actions/cache@v3
with:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build
key: ${{ runner.os }}-app-build

- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
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') }}
restore-keys: |
${{ runner.os }}-yarn-
Expand Down Expand Up @@ -228,13 +236,15 @@ jobs:
uses: actions/cache@v3
with:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build
key: ${{ runner.os }}-app-build

- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
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') }}
restore-keys: |
${{ runner.os }}-yarn-
Expand Down Expand Up @@ -302,13 +312,15 @@ jobs:
uses: actions/cache@v3
with:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build
key: ${{ runner.os }}-app-build

- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
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') }}
restore-keys: |
${{ runner.os }}-yarn-
Expand Down

0 comments on commit cff1a75

Please sign in to comment.