Skip to content

1.2.1

1.2.1 #27

Workflow file for this run

name: Publish
on:
release:
types: [created]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry~=1.4.0 setuptools
poetry config virtualenvs.create false
poetry install --no-dev
- name: Build and publish
run: |
poetry build
poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}