Skip to content

update openapi file #395

update openapi file

update openapi file #395

name: Publish python-rest package to the PyPi
on:
release:
types: [created]
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: data-api/python-rest
steps:
- uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.10.12'
- name: install
run: python -m pip install --user --upgrade setuptools wheel twine
- name: setup package
run: python setup.py sdist bdist_wheel
- name: deploy
run: python -m twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }} || exit 0