From b2c0e505565ee4e5a06bc2aa7c0bd2ca5659fae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=CC=81o=20Monnom?= Date: Tue, 3 Oct 2023 00:37:46 -0700 Subject: [PATCH] fix env --- .github/workflows/build-api.yml | 8 ++++---- .github/workflows/build-rtc.yml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml index 7a518e92..43a69f64 100644 --- a/.github/workflows/build-api.yml +++ b/.github/workflows/build-api.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: env: - working-directory: ./livekit-api + PACKAGE_DIR: ./livekit-api jobs: build_wheels: @@ -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: | diff --git a/.github/workflows/build-rtc.yml b/.github/workflows/build-rtc.yml index d0e5ea81..ce1d719d 100644 --- a/.github/workflows/build-rtc.yml +++ b/.github/workflows/build-rtc.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: env: - working-directory: ./livekit-rtc + PACKAGE_DIR: ./livekit-rtc jobs: build_wheels: @@ -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 @@ -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