From d6634d92d2f1a10b6994eabb22487c632e260eb1 Mon Sep 17 00:00:00 2001 From: Stephen Crawford Date: Thu, 21 Sep 2023 13:46:39 -0400 Subject: [PATCH] try with moved up Signed-off-by: Stephen Crawford --- .github/workflows/plugin_install.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/plugin_install.yml b/.github/workflows/plugin_install.yml index 7b99effdc2..7e9084732a 100644 --- a/.github/workflows/plugin_install.yml +++ b/.github/workflows/plugin_install.yml @@ -33,9 +33,7 @@ jobs: # Move and rename the plugin for installation - name: Move and rename the plugin for installation - run: | - mv ./build/distributions/${{ env.PLUGIN_NAME }}-*.zip ${{ env.PLUGIN_NAME }}.zi - echo installPassword >> ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/config/opensearch-security/initialAdminPassword.txt + run: mv ./build/distributions/${{ env.PLUGIN_NAME }}-*.zip ${{ env.PLUGIN_NAME }}.zip shell: bash - name: Create Setup Script @@ -52,6 +50,7 @@ jobs: if: ${{ runner.os == 'Windows' }} run: | New-Item .\setup.bat -type file + echo installPassword >> .\opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT\config\opensearch-security\initialAdminPassword.txt Set-Content .\setup.bat -Value "powershell.exe .\opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT\plugins\${{ env.PLUGIN_NAME }}\tools\install_demo_configuration.bat -i -c -y" Get-Content .\setup.bat