v0.6.1 #10
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: Create Release | |
on: | |
release: | |
types: [created] | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name : Setup poetry | |
run: | | |
pip install pip==22.2.1 poetry==1.8.2 | |
poetry run pip install --upgrade pip | |
- name: Install dependencies | |
run: poetry install --all-extras | |
- name: Build and Publish to PyPI | |
run: poetry --no-interaction publish --build --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} |