Skip to content

fix conversion error when a boolean feature has only one value #82

fix conversion error when a boolean feature has only one value

fix conversion error when a boolean feature has only one value #82

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