Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: Publish Python Package
on:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build the package
run: python -m build
# Uncomment to publish on pypi
#- name: Publish to PyPI
# env:
# TWINE_USERNAME: __token__ # Use API token
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
# run: twine upload dist/*