From 2a7d7c94f5c69a2b06bd840eb55ad4796193960a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Fri, 14 Oct 2022 12:59:11 +0200 Subject: [PATCH] chore: yarn cache syntax --- .github/workflows/publish.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e1cd9bb72..a68f5f1dc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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') }} @@ -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') }} @@ -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') }} @@ -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') }} @@ -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') }} @@ -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') }}