Skip to content

Update README.md

Update README.md #2

name: Python package build and publish
# on:
# release:
# types: [created]
on:
push:
branches-ignore:
- "main"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# pip install twine flake8
# - name: Lint with flake8 for syntax errors
# run: |
# pip install flake8
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Build manylinux Python wheels
uses: RalfG/[email protected]_x86_64
with:
python-versions: 'cp39-cp39'
build-requirements: 'cython numpy scikit-learn==1.0'
- uses: actions/upload-artifact@v2
with:
path: ./dist/*.whl