Skip to content

feat: bk-plugin-runtime 支持使用 pymysql #18

feat: bk-plugin-runtime 支持使用 pymysql

feat: bk-plugin-runtime 支持使用 pymysql #18

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