Skip to content

Commit

Permalink
fix release workflow (livekit#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom authored Aug 22, 2024
1 parent 0ce783d commit 4b6875b
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,30 +80,11 @@ jobs:
strategy:
matrix:
package: ${{ fromJson(needs.bump.outputs.packages) }}
defaults:
run:
working-directory: "${{ startsWith(matrix.package.name, 'livekit-plugin') && 'livekit-plugins/' || '' }}${{ matrix.package.name }}"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true
lfs: true
env:
GITHUB_TOKEN: ${{ secrets.CHANGESETS_PUSH_PAT }}

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Build package
uses: ./.github/workflows/build-package.yml
with:
package: ${{ matrix.package.name }}
artifact_name: python-package-distributions
uses: livekit/agents/.github/workflows/build-package.yml@main
with:
package: ${{ matrix.package.name }}
artifact_name: python-package-distributions

publish:
needs:
Expand Down

0 comments on commit 4b6875b

Please sign in to comment.