Skip to content

fix: support all sklearn classes (#408) #97

fix: support all sklearn classes (#408)

fix: support all sklearn classes (#408) #97

Workflow file for this run

name: PyPi Publish
on:
push:
tags:
- v*
jobs:
pypi_publish:
if: github.repository == 'numaproj/numalogic'
runs-on: ubuntu-latest
environment: production
strategy:
fail-fast: false
matrix:
python-version: [ "3.11" ]
name: Publish to PyPi
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry==1.6.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: |
poetry env use ${{ matrix.python-version }}
poetry install
- name: Build dist
run: poetry build
- name: Publish
run: poetry publish -u __token__ -p ${{ secrets.PYPI_PASSWORD }}