feat: celery 5 & redis 依赖包升级适配 (#230) #58
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 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 |