Skip to content

update

update #4

Workflow file for this run

name: Publish to PyPI
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: pip install -r requirements.txt # Replace with the path to your requirements file
- name: Build and Publish
run: |
python setup.py sdist bdist_wheel
pip install twine
twine upload dist/*
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}