From 01823039a2e6e54e5eecf17119cc752ad00b5b72 Mon Sep 17 00:00:00 2001 From: Joanne Wang Date: Thu, 19 Sep 2024 16:02:18 -0700 Subject: [PATCH] Fix cache cypress (#280) Signed-off-by: Joanne Wang --- .../dashboards-notifications-test-and-build-workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml index 73da70c7..ada0b8d0 100644 --- a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml @@ -57,7 +57,7 @@ jobs: run: | git config --system core.longpaths true subst 'X:' . - + - name: enable long paths in git if: ${{ matrix.os == 'windows-latest' }} run: | @@ -170,7 +170,7 @@ jobs: uses: actions/cache@v2 with: path: ${{ matrix.cypress_cache_folder }} - key: cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }} + key: cypress-cache-v2-${{ runner.os }}-${{ hashFiles('OpenSearch-Dashboards/plugins/dashboards-notifications/package.json') }} - name: Reset npm's script shell if: ${{ matrix.os == 'windows-latest' }}