Skip to content

Commit

Permalink
Fix cache cypress hashfile path (#281)
Browse files Browse the repository at this point in the history
* Fix cache cypress

Signed-off-by: Joanne Wang <[email protected]>

* change branch to 2.17 instead of 2.x

Signed-off-by: Joanne Wang <[email protected]>

---------

Signed-off-by: Joanne Wang <[email protected]>
  • Loading branch information
jowg-amazon authored Sep 20, 2024
1 parent 5f2e7a8 commit d41ecc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on: [pull_request, push]

env:
PLUGIN_NAME: notifications-dashboards
OPENSEARCH_DASHBOARDS_VERSION: '2.x'
NOTIFICATIONS_PLUGIN_VERSION: '2.x'
OPENSEARCH_DASHBOARDS_VERSION: '2.17.0'
NOTIFICATIONS_PLUGIN_VERSION: '2.17.0.0'

jobs:
Get-CI-Image-Tag:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on: [pull_request, push]

env:
PLUGIN_NAME: notifications-dashboards
OPENSEARCH_DASHBOARDS_VERSION: '2.x'
NOTIFICATIONS_PLUGIN_VERSION: '2.x'
OPENSEARCH_DASHBOARDS_VERSION: '2.17.0'
NOTIFICATIONS_PLUGIN_VERSION: '2.17.0.0'

jobs:
tests:
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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' }}
Expand Down

0 comments on commit d41ecc6

Please sign in to comment.