From d8ddb5ae4d7eb5b56d9c24deeef6e952619fbd9e Mon Sep 17 00:00:00 2001 From: Joanne Wang Date: Thu, 19 Sep 2024 15:01:37 -0700 Subject: [PATCH] Fix cache cypress 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 73da70c..ada0b8d 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' }}