Skip to content

Commit

Permalink
fix incorrect parse
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
  • Loading branch information
stephen-crawford committed Nov 14, 2022
1 parent 273c505 commit 008149f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/start-opensearch-with-one-plugin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,14 @@ runs:

- name: Install Plugin into OpenSearch for Windows
if: ${{ runner.os == 'Windows'}}
run: 'y' | .\opensearch-${{ inputs.opensearch-version }}-SNAPSHOT\bin\opensearch-plugin.bat install file:$pwd\${{ inputs.plugin-name }}.zip
run: |
'y' | .\opensearch-${{ inputs.opensearch-version }}-SNAPSHOT\bin\opensearch-plugin.bat install file:$pwd\${{ inputs.plugin-name }}.zip
shell: pwsh

- name: Run Demo Configuration if File is Provided
if: ${{ inputs.plugin-start-script}} && ${{ runner.os == 'Windows' }}
run: 'y', 'y', 'N' | .\opensearch-${{ inputs.opensearch-version }}-SNAPSHOT\plugins\${{ inputs.plugin-name }}\tools\${{ inputs.plugin-demo-script }}.bat
run: |
'y', 'y', 'N' | .\opensearch-${{ inputs.opensearch-version }}-SNAPSHOT\plugins\${{ inputs.plugin-name }}\tools\${{ inputs.plugin-demo-script }}.bat
shell: pwsh

# Run OpenSearch
Expand Down

0 comments on commit 008149f

Please sign in to comment.