Skip to content

Commit

Permalink
pwd
Browse files Browse the repository at this point in the history
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla committed Feb 27, 2025
1 parent bfafa08 commit 54500d7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_with_plugins_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,12 @@ jobs:
- name: Install Plugins
run: |
mkdir -p install_logs
for plugin in plugins/*.zip; do
cd plugins
for plugin in *.zip; do
if [ -f "$plugin" ]; then
plugin_name=$(basename "$plugin" -${{ env.VERSION }}.zip)
plugin_name=$(basename "$plugin" .zip)
echo "Installing plugin: $plugin_name"
if ./opensearch-dashboards-${{ env.VERSION }}/bin/opensearch-dashboards-plugin install "file://$plugin" 2>&1 | tee install_logs/${plugin_name}-${{ env.VERSION }}-install.log; then
if ../opensearch-dashboards-${{ env.VERSION }}/bin/opensearch-dashboards-plugin install "file:$(pwd)/$plugin" 2>&1 | tee ../install_logs/${plugin_name}-install.log; then
echo "✅ Successfully installed $plugin_name"
else
echo "⚠️ Failed to install $plugin_name"
Expand Down

0 comments on commit 54500d7

Please sign in to comment.