Skip to content

Release v3.1.1

Release v3.1.1 #13

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [published]
jobs:
build:
name: Build dist & publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install build dependencies & build
run: |
python -m pip install --upgrade pip
pip install poetry
poetry build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1.5
with:
user: __token__
password: ${{ secrets.pypi_api_token }}
- name: Upload wheel to release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
gh release upload ${{ github.event.release.tag_name }} ./dist/flake8_annotations-*.whl