This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
0.4.1 #3
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 | |
on: | |
release: | |
types: [released] | |
jobs: | |
pypi: | |
name: Publish to PyPI | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9"] | |
poetry-version: ["1.4.0"] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up Poetry ${{ matrix.poetry-version }} | |
run: | | |
python -m pip install poetry==${{ matrix.poetry-version }} | |
poetry config virtualenvs.create false | |
- name: Build and publish | |
run: poetry publish --build --username __token__ --password ${{ secrets.PYPI_TOKEN }} |