Skip to content

fix timestamp issues (#83) #107

fix timestamp issues (#83)

fix timestamp issues (#83) #107

Workflow file for this run

name: Build and publish Python distributions to PyPI
on:
- push
- workflow_dispatch
jobs:
build-n-publish:
name: Build and publish Python distributions to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Build wheel
run: |
python3 -m pip install wheel
python3 setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_token }}