From e92ac45fa981c0964344032ff4041407ab3d0f20 Mon Sep 17 00:00:00 2001 From: Fangyin Cheng Date: Fri, 4 Oct 2024 22:53:15 +0800 Subject: [PATCH] fix(ci): Fix protobuf error --- .github/workflows/release-python.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 8d3225b..97f34b8 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -26,8 +26,6 @@ jobs: platform: - runner: ubuntu-latest target: x86_64 - - runner: ubuntu-latest - target: x86 - runner: ubuntu-latest target: aarch64 - runner: ubuntu-latest @@ -47,6 +45,7 @@ jobs: manylinux: ${{ matrix.platform.target == 'aarch64' && '2_24' || 'auto' }} docker-options: | -e PROTOC_ARCH=${{ matrix.platform.target }} + -e PROTOC=/usr/local/bin/protoc before-script-linux: | PROTOC_VERSION="28.2" if [ "$PROTOC_ARCH" = "i686" ]; then @@ -63,7 +62,6 @@ jobs: unzip -o $PROTOC_ZIP -d /usr/local bin/protoc unzip -o $PROTOC_ZIP -d /usr/local 'include/*' rm -f $PROTOC_ZIP - echo "PROTOC=/usr/local/bin/protoc" >> $GITHUB_ENV # docker-options: | # -e PROTOC=/usr/bin/protoc # before-script-linux: | @@ -104,6 +102,7 @@ jobs: manylinux: musllinux_1_2 docker-options: | -e PROTOC_ARCH=${{ matrix.platform.target }} + -e PROTOC=/usr/local/bin/protoc before-script-linux: | PROTOC_VERSION="28.2" if [ "$PROTOC_ARCH" = "i686" ]; then @@ -116,7 +115,6 @@ jobs: unzip -o $PROTOC_ZIP -d /usr/local bin/protoc unzip -o $PROTOC_ZIP -d /usr/local 'include/*' rm -f $PROTOC_ZIP - echo "PROTOC=/usr/local/bin/protoc" >> $GITHUB_ENV # docker-options: | # -e PROTOC=/usr/bin/protoc # before-script-linux: |