Skip to content

Merge pull request #5 from Datura-ai/feature/datura_py #2

Merge pull request #5 from Datura-ai/feature/datura_py

Merge pull request #5 from Datura-ai/feature/datura_py #2

Workflow file for this run

name: Publish to PyPI
on:
push:
branches:
- main # Change this to your desired branch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Specify your Python version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*