chore: rebuild plugin with AMP standard compliance + fix source skill… #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Plugin | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'src/**' | |
| - 'plugin.manifest.json' | |
| - 'build-plugin.sh' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install jq | |
| run: sudo apt-get install -y jq | |
| - name: Build plugin from manifest | |
| run: ./build-plugin.sh --clean | |
| - name: Verify build output | |
| run: | | |
| echo "=== Skills ===" | |
| find plugins/ai-maestro/skills -name "SKILL.md" | sort | |
| echo "" | |
| echo "=== Scripts ===" | |
| ls plugins/ai-maestro/scripts/ | head -20 | |
| echo "" | |
| echo "=== Hooks ===" | |
| ls plugins/ai-maestro/hooks/ | |
| echo "" | |
| echo "=== Plugin manifest ===" | |
| cat plugins/ai-maestro/.claude-plugin/plugin.json | |
| - name: Commit build output | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add plugins/ | |
| if git diff --cached --quiet; then | |
| echo "No changes to commit" | |
| else | |
| git commit -m "build: update plugin from sources [skip ci]" | |
| git push | |
| fi |