Update dependency fastapi to ^0.126.0 #22
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: UML-MCP CD Pipeline | ||
| on: | ||
| release: | ||
| types: [created] | ||
| workflow_dispatch: | ||
| inputs: | ||
| version_increment: | ||
| description: 'Version increment type (patch, minor, major)' | ||
| required: true | ||
| default: 'patch' | ||
| deploy_to_smithery: | ||
| description: 'Deploy to Smithery after build' | ||
| type: boolean | ||
| required: false | ||
| default: false | ||
| publish_to_pypi: | ||
| description: 'Publish to PyPI after build' | ||
| type: boolean | ||
| required: false | ||
| default: false | ||
| jobs: | ||
| publish: | ||
| needs: build | ||
| if: | | ||
| (github.event_name == 'workflow_dispatch' && github.event.inputs.publish_to_pypi == 'true') || | ||
| github.event_name == 'release' | ||
| uses: ./.github/workflows/publish.yml | ||
| with: | ||
| version_increment: ${{ github.event.inputs.version_increment }} | ||
| secrets: inherit | ||
| deploy: | ||
| needs: build | ||
| if: | | ||
| (github.event_name == 'push' && github.ref == 'refs/heads/main') || | ||
| (github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_to_smithery == 'true') | ||
| uses: ./.github/workflows/deploy.yml | ||
| secrets: inherit | ||