From e6a6a4a6ea10cc9809682076cb138b18abc44632 Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Tue, 3 Dec 2024 16:16:44 -0500 Subject: [PATCH] fixup cache yarn --- .github/actions/checkout/action.yml | 2 +- .github/workflows/pipeline-electron-docs-only.yml | 4 ++-- .github/workflows/pipeline-electron-lint.yml | 2 +- .github/workflows/pipeline-segment-electron-build.yml | 2 +- .github/workflows/pipeline-segment-electron-gn-check.yml | 2 +- .github/workflows/pipeline-segment-electron-test.yml | 2 +- .github/workflows/pipeline-segment-node-nan-test.yml | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/checkout/action.yml b/.github/actions/checkout/action.yml index af29c15eab..95be384480 100644 --- a/.github/actions/checkout/action.yml +++ b/.github/actions/checkout/action.yml @@ -24,7 +24,7 @@ runs: id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('src/electron/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - name: Install Dependencies diff --git a/.github/workflows/pipeline-electron-docs-only.yml b/.github/workflows/pipeline-electron-docs-only.yml index 4c156d2548..dc0ab0230f 100644 --- a/.github/workflows/pipeline-electron-docs-only.yml +++ b/.github/workflows/pipeline-electron-docs-only.yml @@ -33,9 +33,9 @@ jobs: id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('src/electron/yarn.lock') }} restore-keys: | - ${{ runner.os }}-yarn- + ${{ runner.os }}-yarn- - name: Install Dependencies run: | cd src/electron diff --git a/.github/workflows/pipeline-electron-lint.yml b/.github/workflows/pipeline-electron-lint.yml index b120bf74f3..7f2c160699 100644 --- a/.github/workflows/pipeline-electron-lint.yml +++ b/.github/workflows/pipeline-electron-lint.yml @@ -33,7 +33,7 @@ jobs: id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('src/electron/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - name: Install Dependencies diff --git a/.github/workflows/pipeline-segment-electron-build.yml b/.github/workflows/pipeline-segment-electron-build.yml index 91fc246997..120a0f5c76 100644 --- a/.github/workflows/pipeline-segment-electron-build.yml +++ b/.github/workflows/pipeline-segment-electron-build.yml @@ -113,7 +113,7 @@ jobs: id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('src/electron/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - name: Install Dependencies diff --git a/.github/workflows/pipeline-segment-electron-gn-check.yml b/.github/workflows/pipeline-segment-electron-gn-check.yml index 5ac0e8799d..7de27263ce 100644 --- a/.github/workflows/pipeline-segment-electron-gn-check.yml +++ b/.github/workflows/pipeline-segment-electron-gn-check.yml @@ -118,7 +118,7 @@ jobs: id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('src/electron/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - name: Install Dependencies diff --git a/.github/workflows/pipeline-segment-electron-test.yml b/.github/workflows/pipeline-segment-electron-test.yml index 278c22f6ae..f153b6d8fd 100644 --- a/.github/workflows/pipeline-segment-electron-test.yml +++ b/.github/workflows/pipeline-segment-electron-test.yml @@ -126,7 +126,7 @@ jobs: id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('src/electron/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - name: Install Dependencies diff --git a/.github/workflows/pipeline-segment-node-nan-test.yml b/.github/workflows/pipeline-segment-node-nan-test.yml index bfbf4db86f..cf0b966955 100644 --- a/.github/workflows/pipeline-segment-node-nan-test.yml +++ b/.github/workflows/pipeline-segment-node-nan-test.yml @@ -63,7 +63,7 @@ jobs: id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('src/electron/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - name: Install Dependencies @@ -137,7 +137,7 @@ jobs: id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-yarn-${{ hashFiles('src/electron/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - name: Install Dependencies