Skip to content

feat: celery 5 & redis 依赖包升级适配 (#230) #58

feat: celery 5 & redis 依赖包升级适配 (#230)

feat: celery 5 & redis 依赖包升级适配 (#230) #58

name: Runtime Pipeline python package
on:
push:
tags:
- "bamboo-pipeline-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.7
- name: Set up Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.2.1
- name: Remove Test Code
run: |
cd runtime/bamboo-pipeline
rm -rf pipeline/django_signal_valve/tests
rm -rf pipeline/tests
rm -rf pipeline/contrib/external_plugins/tests
poetry build -vvv
poetry config pypi-token.pypi ${{ secrets.PIPELINE_PYPI_TOKEN }}
poetry publish