Skip to content

Updates to package file structure and relative imports #7

Updates to package file structure and relative imports

Updates to package file structure and relative imports #7

Workflow file for this run

name: Python SDK
on:
push:
branches:
- dev
- main
paths:
- "ceramicsdk/**"
workflow_dispatch:
jobs:
publish-to-pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build the package
run: python -m build ceramicsdk
- name: Publish package to PyPI
working-directory: ceramicsdk
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
twine upload dist/*