Skip to content

Add pycro-manager v0.23 #1

Add pycro-manager v0.23

Add pycro-manager v0.23 #1

Workflow file for this run

name: Publish Package
on:
push:
branches:
- main
paths:
- 'pycromanager/_version.py'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install packaging setuptools twine wheel
- name: Publish the Python package
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
# - name: Create git tag
# run: |
# version=$(python -c "from pycromanager._version import __version__; print(__version__)")
# git tag $version
# git push origin $version