Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

v0.21.0

v0.21.0 #24

Workflow file for this run

name: PyPI
on:
release:
types: [published]
jobs:
publish:
name: publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
- name: Install dependencies
run: make install
- name: Build source tarball and binary wheel
run: make build
- name: Upload artifacts
run: gh release upload ${{ github.ref_name }} dist/*.tar.gz dist/*.whl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}