Skip to content

Classification Extensions #18

Classification Extensions

Classification Extensions #18

Workflow file for this run

name: Deploy to PyPi
on:
release:
types: [created]
jobs:
build:
name: Build the release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build and check packages
run: |
python -m build
twine check --strict dist/*
- name: Upload
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.COCO_PYPI_PW }}