Skip to content

Bump version to 1.7.0, update changelog, and upgrade GitHub Actions v… #37

Bump version to 1.7.0, update changelog, and upgrade GitHub Actions v…

Bump version to 1.7.0, update changelog, and upgrade GitHub Actions v… #37

Workflow file for this run

name: PyPI Publish
on:
push:
jobs:
deploy:
name: Publish on PyPI
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: python -m pip install build
- name: Build package
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}