Skip to content

Runtime python package #34

Runtime python package

Runtime python package #34

name: Runtime python package
on:
push:
tags:
- "bk-plugin-runtime-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 runtime/bk-plugin-runtime
rm -rf benchmark
rm -rf tests
poetry build -vvv
poetry config pypi-token.pypi ${{ secrets.RUNTIME_PYPI_TOKEN }}
poetry publish