Skip to content

Incorporate merge request code. Up version #10

Incorporate merge request code. Up version

Incorporate merge request code. Up version #10

Workflow file for this run

# More info:
# - https://github.com/pypa/gh-action-pypi-publish
# - https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
name: Publish to PyPI
on:
push:
branches:
- main
paths:
- "src/timeshap/version.py"
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.7"
- name: Install build dependencies
run: pip install -U setuptools wheel build
- name: Build
run: python -m build .
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
verbose: true