From ead654209d3c7982472777ce3062dbb13b2e192f Mon Sep 17 00:00:00 2001 From: Neil Dwyer Date: Fri, 12 Jan 2024 11:23:07 -0800 Subject: [PATCH] iter --- .github/workflows/build-docs.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 6500178c..b7afb92c 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -45,23 +45,23 @@ jobs: with: submodules: recursive - - name: Install pdoc - run: python -m pip install --upgrade pdoc + - name: Virtual Env + run: python -m venv venv - - name: Install cibuildwheel - run: python -m pip install cibuildwheel + - name: Install Package to Document + run: source venv/bin/activate && python -m pip install ${{ inputs.package_dir }}/ - - name: Build Wheel - run: python -m cibuildwheel --output-dir dist --platform linux ./${{ inputs.package_dir }} + - name: Log Env + run: source venv/bin/activate && pip list - - name: List Dist - run: ls dist + - name: Download ffi + run: source venv/bin/activate && pip install requests && python livekit-rtc/rust-sdks/download_ffi.py --output $(python -m site --user-site)/livekit/rtc/resources - - name: Install Wheel - run: python -m pip install dist/*.whl + - name: Install pdoc + run: source venv/bin/activate && pip install --upgrade pdoc - name: Build Docs - run: python -m pdoc ${{ inputs.package_name }} --docformat=google --output-dir docs + run: source venv/bin/activate && python -m pdoc ${{ inputs.package_name }} --docformat=google --output-dir docs - name: S3 Upload run: aws s3 cp docs/ s3://livekit-docs/${{ inputs.package_dir }} --recursive