Skip to content

Merge branch 'main' into dependabot/github_actions/actions/checkout-4 #40

Merge branch 'main' into dependabot/github_actions/actions/checkout-4

Merge branch 'main' into dependabot/github_actions/actions/checkout-4 #40

Workflow file for this run

name: Release
on: [push]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install -U pip wheel setuptools setuptools-scm twine
- name: Build distributions
run: python setup.py sdist bdist_wheel
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}