Skip to content

fix support fox python < 3.10 #97

fix support fox python < 3.10

fix support fox python < 3.10 #97

Workflow file for this run

name: Publish Python package
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine build
pip install -r requirements.txt
- name: Publish on Pypi
if: startsWith(github.ref, 'refs/tags/')
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python3 -m build
twine upload dist/*.tar.gz