From f80fb57a9647b15adc8ecc601ec2a259836e1957 Mon Sep 17 00:00:00 2001 From: voluntas Date: Mon, 23 Dec 2024 22:21:15 +0900 Subject: [PATCH] Revert "Bump astral-sh/setup-uv from 4 to 5" This reverts commit 4c1b72cb887127be10ef52f1d112861d72f8d3f8. --- .github/workflows/build-debug.yml | 2 +- .github/workflows/build.yml | 6 +++--- .github/workflows/e2e-test.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 612ebf1..be585bd 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -251,7 +251,7 @@ jobs: - name: Copy version file if: steps.version-file-cache.outputs.cache-hit == 'true' run: cp versions/llvm.version sora-python-sdk/_install/${{ matrix.platform.name }}/ - - uses: astral-sh/setup-uv@v5 + - uses: astral-sh/setup-uv@v4 - name: Build sora-python-sdk working-directory: sora-python-sdk run: | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c668457..ae14862 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - run: | sudo apt-get -y install libx11-dev - - uses: astral-sh/setup-uv@v5 + - uses: astral-sh/setup-uv@v4 - run: uv python pin 3.13 - run: uv sync - name: Generate pyi @@ -103,7 +103,7 @@ jobs: # multistrap に insecure なリポジトリからの取得を許可する設定を入れる sudo sed -e 's/Apt::Get::AllowUnauthenticated=true/Apt::Get::AllowUnauthenticated=true";\n$config_str .= " -o Acquire::AllowInsecureRepositories=true/' -i /usr/sbin/multistrap if: ${{ matrix.platform.os == 'ubuntu' && matrix.platform.arch == 'armv8' }} - - uses: astral-sh/setup-uv@v5 + - uses: astral-sh/setup-uv@v4 - run: uv python pin ${{ matrix.python_version }} - run: uv sync @@ -176,7 +176,7 @@ jobs: - run: | cp sora_sdk/py.typed src/sora_sdk/py.typed cp sora_sdk/sora_sdk_ext.pyi src/sora_sdk/sora_sdk_ext.pyi - - uses: astral-sh/setup-uv@v5 + - uses: astral-sh/setup-uv@v4 - run: uv python pin ${{ matrix.python_version }} - run: uv sync - run: uv run python run.py windows_x86_64 diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 9909506..19721e0 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -51,7 +51,7 @@ jobs: bzip2 -d libopenh264-${{ env.OPENH264_VERSION }}-linux64.7.so.bz2 mv libopenh264-${{ env.OPENH264_VERSION }}-linux64.7.so libopenh264.so echo "OPENH264_PATH=$(pwd)/libopenh264.so" >> $GITHUB_ENV - - uses: astral-sh/setup-uv@v5 + - uses: astral-sh/setup-uv@v4 - run: uv python pin ${{ matrix.python_version }} - run: uv sync - run: uv run python run.py ${{ matrix.os }}_x86_64 @@ -81,7 +81,7 @@ jobs: bzip2 -d libopenh264-${{ env.OPENH264_VERSION }}-mac-arm64.dylib.bz2 mv libopenh264-${{ env.OPENH264_VERSION }}-mac-arm64.dylib libopenh264.dylib echo "OPENH264_PATH=$(pwd)/libopenh264.dylib" >> $GITHUB_ENV - - uses: astral-sh/setup-uv@v5 + - uses: astral-sh/setup-uv@v4 - run: uv python pin ${{ matrix.python_version }} - run: uv sync - run: uv run python run.py macos_arm64 @@ -114,7 +114,7 @@ jobs: 7z e openh264-${{ env.OPENH264_VERSION }}-win64.dll.bz2 Rename-Item -Path "openh264-${{ env.OPENH264_VERSION }}-win64.dll" -NewName "libopenh264.dll" echo "OPENH264_PATH=$PWD\libopenh264.dll" >> $env:GITHUB_ENV - - uses: astral-sh/setup-uv@v5 + - uses: astral-sh/setup-uv@v4 - run: uv python pin ${{ matrix.python_version }} - run: uv sync - run: uv run python run.py windows_x86_64