Skip to content

Commit

Permalink
fix(ci): Fix protobuf error
Browse files Browse the repository at this point in the history
  • Loading branch information
fangyinc committed Oct 4, 2024
1 parent 1738db8 commit e92ac45
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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: |
Expand Down Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit e92ac45

Please sign in to comment.