Skip to content

Commit

Permalink
Use git LFS during builds, 0.2.3 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao authored Aug 12, 2023
1 parent 2ece5cd commit b14fa6c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 19 deletions.
46 changes: 28 additions & 18 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,40 @@

name: Upload Python Package

on: workflow_dispatch
on:
workflow_dispatch:
push:
tags:
- v*

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Checkout Git LFS
uses: actions/checkout@v3
with:
lfs: "true"

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.x"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build

- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

setup(
name="livekit",
version="0.2.2",
version="0.2.3",
description="LiveKit Python Client SDK for LiveKit",
long_description=long_description,
long_description_content_type="text/markdown",
Expand All @@ -39,6 +39,7 @@
],

keywords="webrtc, livekit",
license="Apache-2.0",
packages=["livekit"],
python_requires=">=3.7, <4",
install_requires=["pyee>=11.0.0",
Expand All @@ -47,6 +48,7 @@
"livekit": ['lib/*/*/*.*', '_proto/*.py'],
},
project_urls={
"Documentation": "https://docs.livekit.io",
"Website": "https://livekit.io/",
"Source": "https://github.com/livekit/client-sdk-python/",
},
Expand Down

0 comments on commit b14fa6c

Please sign in to comment.