Skip to content

feat: 2.0.0 beta sdk (#125) #95

feat: 2.0.0 beta sdk (#125)

feat: 2.0.0 beta sdk (#125) #95

Workflow file for this run

name: Python Publish Package
on:
push:
paths: "apitable.py/pyproject.toml"
tags:
- "apitable.py@*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.10.12
- name: Python Poetry
uses: abatilo/actions-poetry@v2
with:
working-directory: ./apitable.py
poetry-version: 1.5.1
- name: Build and publish
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
cd apitable.py
make install
poetry publish --username=$PYPI_USERNAME --password=$PYPI_PASSWORD --build