Skip to content

Commit

Permalink
Publish Python SDK using Poetry directly
Browse files Browse the repository at this point in the history
  • Loading branch information
tcamise-gpsw committed Jan 7, 2025
1 parent 17a9020 commit fbb4445
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/publish_python_sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build and publish to pypi
uses: JRubics/[email protected]
- name: Set up Python 3.12.8
uses: actions/setup-python@v5
with:
package_directory: ./demos/python/sdk_wireless_camera_control/
python_version: 3.12.8
pypi_token: ${{ secrets.PYTHON_SDK_PYPI_TOKEN }}
python-version: 3.12.8

- name: Build and publish to pypi
run: |
poetry config pypi-token.pypi ${{ secrets.PYTHON_SDK_PYPI_TOKEN }}
poetry publish --build

0 comments on commit fbb4445

Please sign in to comment.