Skip to content

Commit

Permalink
Feat/pypi ci (#9512)
Browse files Browse the repository at this point in the history
* add python sdk publish ci

* remove check version
  • Loading branch information
gofenix authored Aug 23, 2023
1 parent 7d4fb98 commit 40a2473
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/python-sdk-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Run Python SDK Publish"

on:
workflow_dispatch:

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- uses: ./.github/actions/python-setup
with:
pyproject_directory: ./ecosystem/python/sdk

- name: Build project for distribution
run: poetry build
working-directory: ./ecosystem/python/sdk

- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish
working-directory: ./ecosystem/python/sdk

0 comments on commit 40a2473

Please sign in to comment.