Chore: Fix Azure Monitor plugin build (#80528)

This commit is contained in:
Andres Martinez Gotor 2024-01-15 12:11:09 +01:00 committed by GitHub
parent 94ec6474d3
commit 343422537e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,5 @@
name: Build and release core plugins
on:
workflow_dispatch:
inputs:
@ -61,7 +63,12 @@ jobs:
shell: bash
id: get_dir
run: |
dir=$(find public/app/plugins -name ${{ inputs.plugin_id }} -print -quit)
dir=$(dirname \
$(egrep -lir --include=plugin.json --exclude-dir=dist \
'"id": "${{ inputs.plugin_id }}"' \
public/app/plugins \
) \
)
echo "dir=${dir}" >> $GITHUB_OUTPUT
- name: Install frontend dependencies
shell: bash