Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Windows Install Action Fix" #2401

Merged
merged 11 commits into from
Jan 13, 2023
Merged
Prev Previous commit
Next Next commit
Try powershell -c
Signed-off-by: Craig Perkins <cwperx@amazon.com>
cwperks committed Jan 13, 2023
commit 1be55a184c78164a10995cc8f347dadfa54dd5e9
2 changes: 1 addition & 1 deletion .github/workflows/plugin_install.yml
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ jobs:
if: ${{ runner.os == 'Windows' }}
run: |
New-Item .\setup.bat -type file
Set-Content .\setup.bat -Value "(echo y && echo y && echo y) | powershell.exe .\opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT\plugins\${{ env.PLUGIN_NAME }}\tools\install_demo_configuration.bat"
Set-Content .\setup.bat -Value "'y', 'y', 'y' | powershell -c '.\opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT\plugins\${{ env.PLUGIN_NAME }}\tools\install_demo_configuration.bat'"
Get-Content .\setup.bat

- name: Run Opensearch with A Single Plugin