From a3b4b6733f6fec0e4c2209bd3922507dcb6a7c65 Mon Sep 17 00:00:00 2001 From: AWSHurneyt Date: Wed, 23 Oct 2024 17:40:26 -0700 Subject: [PATCH] Fix cache cypress hashfile path. Signed-off-by: AWSHurneyt --- .github/workflows/cypress-workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 7d0ef848..821d2436 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -120,9 +120,9 @@ 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/security-analytics-dashboards-plugin/package.json') }} restore-keys: | - cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }} + cypress-cache-v2-${{ runner.os }}-${{ hashFiles('OpenSearch-Dashboards/plugins/security-analytics-dashboards-plugin/package.json') }} # for now just chrome, use matrix to do all browsers later - name: Cypress tests