-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move protocol to livekit-protocol package (#89)
- Loading branch information
1 parent
1f7ce70
commit ba26dcc
Showing
49 changed files
with
691 additions
and
6,568 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Build Protocol | ||
|
||
on: | ||
push: | ||
paths: | ||
- livekit-protocol/** | ||
pull_request: | ||
paths: | ||
- livekit-protocol/** | ||
workflow_dispatch: | ||
|
||
env: | ||
PACKAGE_DIR: ./livekit-protocol | ||
|
||
jobs: | ||
build_wheels: | ||
name: Build Protocol wheel/sdist | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ${{ env.PACKAGE_DIR }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- uses: actions/setup-python@v4 | ||
|
||
- name: Build wheel | ||
run: | | ||
pip3 install build wheel | ||
python3 -m build --wheel | ||
- name: Build SDist | ||
run: pipx run build --sdist | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: protocol-release | ||
path: | | ||
livekit-protocol/dist/*.whl | ||
livekit-protocol/dist/*.tar.gz | ||
publish: | ||
name: Publish Protocol release | ||
needs: build_wheels | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
if: startsWith(github.ref, 'refs/tags/protocol-v') | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: protocol-release | ||
path: dist | ||
|
||
- uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule protocol
deleted from
525419
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.