Skip to content

finally configure linters in ci #12

finally configure linters in ci

finally configure linters in ci #12

Workflow file for this run

name: Publishing
on:
push:
paths:
- pyproject.toml
pull_request:
paths:
- pyproject.toml
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@master
- name: set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
python -m poetry install
- name: Build
run: poetry build
- name: Publish
run: |
echo $PYPI_TOKEN
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
poetry publish