Skip to content

Merge pull request #57 from AllenCell/dependabot/github_actions/actio… #25

Merge pull request #57 from AllenCell/dependabot/github_actions/actio…

Merge pull request #57 from AllenCell/dependabot/github_actions/actio… #25

Workflow file for this run

name: Publish
on:
push:
branches:
- master
jobs:
publish:
if: "contains(github.event.head_commit.message, 'Bump version')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install build wheel
- name: Build Package
run: |
python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_TOKEN }}
verbose: true