Skip to content

Commit 73ca269

Browse files
committed
fix version issue
Signed-off-by: Derek Ho <dxho@amazon.com>
1 parent 6e45fd1 commit 73ca269

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/actions/run-cypress-tests/action.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Run Cypress Tests
22
description: 'Runs Cypress tests for the security-dashboards-plugin with opensearch_dashboards.yml and security configuration provided'
33

4+
env:
5+
OPENSEARCH_VERSION: '3.0.0-alpha1'
6+
47
inputs:
58
security_config_file:
69
description: 'Name of the security plugin config file'
@@ -21,9 +24,7 @@ runs:
2124
steps:
2225
- name: Set env
2326
run: |
24-
opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
2527
plugin_version=$(node -p "require('./package.json').version")
26-
echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
2728
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
2829
shell: bash
2930

.github/workflows/cypress-test-tenancy-disabled.yml

-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ jobs:
2828

2929
- name: Set env
3030
run: |
31-
opensearch_version=$(node -p "require('./package.json').opensearchDashboards.version")
3231
plugin_version=$(node -p "require('./package.json').version")
33-
echo "OPENSEARCH_VERSION=$opensearch_version" >> $GITHUB_ENV
3432
echo "PLUGIN_VERSION=$plugin_version" >> $GITHUB_ENV
3533
shell: bash
3634

0 commit comments

Comments
 (0)