Skip to content

Merge pull request #161 from juaml/feat/smoothing-preprocessor #294

Merge pull request #161 from juaml/feat/smoothing-preprocessor

Merge pull request #161 from juaml/feat/smoothing-preprocessor #294

Workflow file for this run

name: Build and publish to PyPI
on:
push:
branches:
- main
tags:
- 'v*'
jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install build
run:
pip install build
- 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_token }}