chore: Updating claude plugin (#52) #33
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: Release Please | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| # Scope wheel publishing to the client component only — a plugin-only | |
| # release must not trigger a client wheel upload. | |
| client_release_created: ${{ steps.release.outputs['dataset-catalog-client--release_created'] }} | |
| client_tag_name: ${{ steps.release.outputs['dataset-catalog-client--tag_name'] }} | |
| steps: | |
| - uses: googleapis/release-please-action@v4 | |
| id: release | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| config-file: release-please-config.json | |
| manifest-file: .release-please-manifest.json | |
| build-wheel: | |
| needs: release-please | |
| if: ${{ needs.release-please.outputs.client_release_created == 'true' }} | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: dataset-catalog-client | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Build wheel | |
| run: uv build | |
| - name: Upload wheel to release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ needs.release-please.outputs.client_tag_name }} | |
| files: dataset-catalog-client/dist/*.whl |