Skip to content

v1.2.4

v1.2.4 #1

Workflow file for this run

---
# Upload python package tp pypi when a release is created
name: PyPI
on:
release:
types: [created]
jobs:
build-n-publish:
name: Build and publish Python distribution to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/omero-openlink
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Build a binary wheel and a source tarball
run: |
python -mpip install wheel
python omero-openlink/setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/[email protected]
#with:
# password: ${{ secrets.PYPI_PASSWORD }}