Skip to content

PyThaiNLP v5.0.4 Released! #50

PyThaiNLP v5.0.4 Released!

PyThaiNLP v5.0.4 Released! #50

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@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
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 }}