Skip to content

[clean] clean up code. #17

[clean] clean up code.

[clean] clean up code. #17

name: upload pypi package
on:
push:
tags:
- v*
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel twine build
- name: build package
run: |
python -m build .
- name: upload package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}