Skip to content

Publish the Python SDK to PyPi #12

Publish the Python SDK to PyPi

Publish the Python SDK to PyPi #12

# publish_python_sdk.yml/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
# This copyright was auto-generated on Wed, Sep 1, 2021 5:05:35 PM
name: Publish the Python SDK to PyPi
on:
workflow_dispatch:
jobs:
build-and-publish:
name: Build and Publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.12.8
uses: actions/setup-python@v5
with:
python-version: 3.12.8
- name: Install poetry
uses: abatilo/actions-poetry@v4
- name: Build and publish to pypi
run: |
poetry config pypi-token.pypi ${{ secrets.PYTHON_SDK_PYPI_TOKEN }}
poetry publish --build