Skip to content

Commit

Permalink
chore: yarn cache syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol Sójko committed Oct 14, 2022
1 parent dd2a19f commit 2a7d7c9
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ jobs:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build

- uses: actions/cache@v3
- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
with:
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down Expand Up @@ -72,8 +73,9 @@ jobs:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build

- uses: actions/cache@v3
- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
with:
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down Expand Up @@ -121,8 +123,9 @@ jobs:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build

- uses: actions/cache@v3
- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
with:
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down Expand Up @@ -170,8 +173,9 @@ jobs:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build

- uses: actions/cache@v3
- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
with:
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down Expand Up @@ -219,8 +223,9 @@ jobs:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build

- uses: actions/cache@v3
- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
with:
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down Expand Up @@ -292,8 +297,9 @@ jobs:
path: packages/**/dist
key: ${{ runner.os }}-workspace-build

- uses: actions/cache@v3
- name: Cache Yarn
id: yarn-cache
uses: actions/cache@v3
with:
path: [ ${{ steps.yarn-cache-dir-path.outputs.dir }}, packages/**/node_modules ]
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
Expand Down

0 comments on commit 2a7d7c9

Please sign in to comment.