Skip to content

feat: add workflow support in patch_item, persistent HTTP client, bum… #46

feat: add workflow support in patch_item, persistent HTTP client, bum…

feat: add workflow support in patch_item, persistent HTTP client, bum… #46

Workflow file for this run

name: Publish Python 🐍 distributions 📦 to PyPI
on:
push:
branches:
- main
tags:
- 'v*'
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install pypa/build
run: |
python -m pip install build --user
- name: Build a binary wheel and a source tarball
run: |
python -m build --sdist --wheel --outdir dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}