Skip to content

Merge pull request #11 from janelia-cellmap/fix_doc_link #17

Merge pull request #11 from janelia-cellmap/fix_doc_link

Merge pull request #11 from janelia-cellmap/fix_doc_link #17

Workflow file for this run

name: Build and publish Python 🐍 distributions πŸ“¦ to PyPI
on: push
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions πŸ“¦ to PyPI
runs-on: ubuntu-latest
if:
startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Set up poetry
run: |
pip install poetry==1.5.1
- name: Build package
run: |
poetry build
- name: Publish distribution πŸ“¦ to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}