Skip to content

Version 0.1.213

Version 0.1.213 #54

Workflow file for this run

name: Publish Pypi
on:
release:
types: [ published ]
jobs:
pytest:
name: Publish to PyPi
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.10'
- uses: docker-practice/actions-setup-docker@master
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install Dev requirements
run: |
pip install -U setuptools wheel
pip install -r dev_requirements.txt
- name: Install Dependencies
run: |
poetry install
- name: Publish to PyPI
if: github.event_name == 'release'
run: |
poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }} --build