From d173ec073a0090ba1586d0de7f93c20d83b5eea3 Mon Sep 17 00:00:00 2001 From: Tim Camise Date: Tue, 9 Apr 2024 14:11:41 -0700 Subject: [PATCH] Add GH Action to publish Pytho SDK using API token --- .github/workflows/publish_python_sdk.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/publish_python_sdk.yml diff --git a/.github/workflows/publish_python_sdk.yml b/.github/workflows/publish_python_sdk.yml new file mode 100644 index 00000000..8197c0a0 --- /dev/null +++ b/.github/workflows/publish_python_sdk.yml @@ -0,0 +1,14 @@ +name: Publish the Python SDK to PyPi + +on: + workflow_dispatch: + +jobs: + build-and-publish: + name: Build and Publish + runs-on: ubuntu-latest + steps: + - name: Build and publish to pypi + uses: JRubics/poetry-publish@v2.0 + with: + pypi_token: ${{ secrets.PYTHON_SDK_PYPI_TOKEN }}