Skip to content

Commit b14fa6c

Browse files
authored
Use git LFS during builds, 0.2.3 (#36)
1 parent 2ece5cd commit b14fa6c

File tree

2 files changed

+31
-19
lines changed

2 files changed

+31
-19
lines changed

.github/workflows/python-publish.yml

+28-18
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,40 @@
88

99
name: Upload Python Package
1010

11-
on: workflow_dispatch
11+
on:
12+
workflow_dispatch:
13+
push:
14+
tags:
15+
- v*
1216

1317
permissions:
1418
contents: read
1519

1620
jobs:
1721
deploy:
18-
1922
runs-on: ubuntu-latest
2023

2124
steps:
22-
- uses: actions/checkout@v3
23-
- name: Set up Python
24-
uses: actions/setup-python@v3
25-
with:
26-
python-version: '3.x'
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install build
31-
- name: Build package
32-
run: python -m build
33-
- name: Publish package
34-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
35-
with:
36-
user: __token__
37-
password: ${{ secrets.PYPI_API_TOKEN }}
25+
- name: Checkout Git LFS
26+
uses: actions/checkout@v3
27+
with:
28+
lfs: "true"
29+
30+
- name: Set up Python
31+
uses: actions/setup-python@v3
32+
with:
33+
python-version: "3.x"
34+
35+
- name: Install dependencies
36+
run: |
37+
python -m pip install --upgrade pip
38+
pip install build
39+
40+
- name: Build package
41+
run: python -m build
42+
43+
- name: Publish package
44+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
45+
with:
46+
user: __token__
47+
password: ${{ secrets.PYPI_API_TOKEN }}

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
setup(
2323
name="livekit",
24-
version="0.2.2",
24+
version="0.2.3",
2525
description="LiveKit Python Client SDK for LiveKit",
2626
long_description=long_description,
2727
long_description_content_type="text/markdown",
@@ -39,6 +39,7 @@
3939
],
4040

4141
keywords="webrtc, livekit",
42+
license="Apache-2.0",
4243
packages=["livekit"],
4344
python_requires=">=3.7, <4",
4445
install_requires=["pyee>=11.0.0",
@@ -47,6 +48,7 @@
4748
"livekit": ['lib/*/*/*.*', '_proto/*.py'],
4849
},
4950
project_urls={
51+
"Documentation": "https://docs.livekit.io",
5052
"Website": "https://livekit.io/",
5153
"Source": "https://github.com/livekit/client-sdk-python/",
5254
},

0 commit comments

Comments
 (0)