Skip to content

Use ruff utility for static analysis (#29) #1

Use ruff utility for static analysis (#29)

Use ruff utility for static analysis (#29) #1

Workflow file for this run

name: Publish source tarball to PyPi
on:
push:
tags:
- '*'
jobs:
build-n-publish:
name: Build and publish the release on PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Build a source tarball
run: |
python setup.py sdist
- name: Publish distribution package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}