Skip to content

Commit

Permalink
fix env
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom committed Oct 3, 2023
1 parent 5189613 commit b2c0e50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
working-directory: ./livekit-api
PACKAGE_DIR: ./livekit-api

jobs:
build_wheels:
Expand All @@ -23,17 +23,17 @@ jobs:

- name: Build wheel
run: python3 -m build --wheel
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.PACKAGE_DIR }}
env:
CIBW_ARCHS: ${{ matrix.archs }}
CIBW_SKIP: "*-musllinux_*"

- name: Build SDist
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.PACKAGE_DIR }}
run: pipx run build --sdist

- uses: actions/upload-artifact@v3
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.PACKAGE_DIR }}
with:
name: api-release
path: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-rtc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
working-directory: ./livekit-rtc
PACKAGE_DIR: ./livekit-rtc

jobs:
build_wheels:
Expand Down Expand Up @@ -40,13 +40,13 @@ jobs:

- name: Build wheels
run: python3 -m cibuildwheel --output-dir dist
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.PACKAGE_DIR }}
env:
CIBW_ARCHS: ${{ matrix.archs }}
CIBW_SKIP: "*-musllinux_*"

- uses: actions/upload-artifact@v3
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.PACKAGE_DIR }}
with:
name: rtc-release
path: dist/*.whl
Expand All @@ -60,11 +60,11 @@ jobs:
submodules: true

- name: Build SDist
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.PACKAGE_DIR }}
run: pipx run build --sdist

- uses: actions/upload-artifact@v3
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.PACKAGE_DIR }}
with:
name: rtc-release
path: dist/*.tar.gz
Expand Down

0 comments on commit b2c0e50

Please sign in to comment.