v1.0.1 #3
Workflow file for this run
This file contains hidden or 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 | |
| on: | |
| release: | |
| types: | |
| - created | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v2 | |
| - name: Install Poetry | |
| run: | | |
| python -m pip install --upgrade poetry wheel | |
| - name: Install dependencies | |
| run: | | |
| poetry self add poetry-dynamic-versioning | |
| poetry install | |
| - name: Show version (debug) | |
| run: poetry version | |
| - name: Publish | |
| env: | |
| POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }} | |
| run: | | |
| poetry config pypi-token.pypi $POETRY_PYPI_TOKEN_PYPI | |
| poetry build | |
| poetry publish |