feat: bk-plugin-runtime 支持使用 pymysql #18
Workflow file for this run
This file contains 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: Runtime python package | |
on: | |
push: | |
tags: | |
- "bk-plugin-runtime-v*.*.*" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.6 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.6 | |
- name: Set up Poetry | |
uses: abatilo/actions-poetry@v2.0.0 | |
with: | |
poetry-version: 1.1.9 | |
- name: Package and Publish | |
run: | | |
cd runtime/bk-plugin-runtime | |
rm -rf benchmark | |
rm -rf tests | |
poetry build -vvv | |
poetry config pypi-token.pypi ${{ secrets.RUNTIME_PYPI_TOKEN }} | |
poetry publish |