v0.1.7 — code-discovery 0.6.0 (repo dedup + stateless CI) #8
Workflow file for this run
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: Publish to Marketplace | |
| on: | |
| release: | |
| types: [published] | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: 'Version tag (e.g., v1.0.0)' | |
| required: true | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Validate action.yml | |
| run: | | |
| # Basic validation | |
| if ! grep -q "name:" action.yml; then | |
| echo "❌ action.yml missing name" | |
| exit 1 | |
| fi | |
| if ! grep -q "runs:" action.yml; then | |
| echo "❌ action.yml missing runs section" | |
| exit 1 | |
| fi | |
| echo "✅ action.yml is valid" | |
| - name: Create Release | |
| if: github.event_name == 'release' | |
| run: | | |
| echo "Release published: ${{ github.event.release.tag_name }}" | |
| echo "Release notes: ${{ github.event.release.body }}" | |