Skip to content

v0.1.35

v0.1.35 #9

Workflow file for this run

name: PyPI
on:
workflow_dispatch:
# push:
# branches: ["main", "rc-*"]
# pull_request:
release:
types: [published]
# schedule:
# - cron: "0 8 * * *"
jobs:
pypi:
name: "Deploy to PyPI"
runs-on: ubuntu-latest
if: github.event_name == 'release'
# needs: [build]
steps:
- uses: actions/checkout@v3
- name: "Set up Python 3.10"
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: "Build Package"
run: |
pip install -e .
make dist
## prod deploy ----
- name: "Deploy to PyPI"
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}