Version 0.6.0 #31
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: Publish esque | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
publish-to-pypi: | |
name: Publish to pypi | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v2 | |
- name: Setup python and install packages | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Publish to pypi | |
if: success() | |
run: | | |
pip install "poetry>=1.0.2" | |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }} | |
poetry build | |
poetry publish |