fix: 增加drf_spectacular第三方依赖包支持可编程网关 --story=130029401 #56
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: Framework python package | |
| on: | |
| push: | |
| tags: | |
| - "bk-plugin-framework-v*.*.*" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.10.5 | |
| - name: Set up Poetry | |
| uses: abatilo/actions-poetry@v2.0.0 | |
| with: | |
| poetry-version: 1.8.5 | |
| - name: Package and Publish | |
| run: | | |
| cd bk-plugin-framework | |
| poetry build -vvv | |
| poetry config pypi-token.pypi ${{ secrets.FRAMEWORK_PYPI_TOKEN }} | |
| poetry publish |