Skip to content

Commit 807c555

Browse files
committed
Update workflow and test
Signed-off-by: Derek Ho <[email protected]>
1 parent f157aef commit 807c555

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: .github/workflows/test.yml

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
uses: suisei-cn/[email protected]
3737
with:
3838
url: https://aws.oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.opensearch.plugin&a=opensearch-security&v=3.0.0.0-SNAPSHOT&p=zip
39-
target: plugin-artifacts/
4039
filename: security.zip
4140

4241
- uses: ./ # Use the action

Diff for: action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ runs:
9292

9393
# Setup security if it's enabled
9494
- name: Setup security demo configuration
95-
if: ${{ runner.os == 'Linux' && inputs.security-enabled }}
95+
if: ${{ runner.os == 'Linux' && inputs.security-enabled == 'true' }}
9696
run: |
9797
echo "running linux security demo configuration setup"
9898
export OPENSEARCH_INITIAL_ADMIN_PASSWORD=${{ inputs.admin-password }}
@@ -101,7 +101,7 @@ runs:
101101
shell: bash
102102

103103
- name: Setup security demo configuration for Windows
104-
if: ${{ runner.os == 'Windows' && inputs.security-enabled }}
104+
if: ${{ runner.os == 'Windows' && inputs.security-enabled == 'true' }}
105105
run: |
106106
echo "running windows security demo configuration setup"
107107
export OPENSEARCH_INITIAL_ADMIN_PASSWORD=${{ inputs.admin-password }}

0 commit comments

Comments
 (0)