Skip to content

[fix] bug fix in version restriction. #14

[fix] bug fix in version restriction.

[fix] bug fix in version restriction. #14

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 }}