Skip to content

PyThaiNLP v4.0.2 Released! #36

PyThaiNLP v4.0.2 Released!

PyThaiNLP v4.0.2 Released! #36

Workflow file for this run

name: Upload package to PyPI
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
python setup.py sdist bdist_wheel
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}