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 c5cac12 commit 1738db8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ jobs:
sccache: 'true'
# manylinux: auto
manylinux: ${{ matrix.platform.target == 'aarch64' && '2_24' || 'auto' }}
docker-options: |
-e PROTOC_ARCH=${{ matrix.platform.target }}
before-script-linux: |
PROTOC_VERSION="28.2"
PROTOC_ARCH=${{ matrix.target }}
if [ "$PROTOC_ARCH" = "i686" ]; then
PROTOC_ARCH="x86_32"
elif [ "$PROTOC_ARCH" = "aarch64" ]; then
Expand Down Expand Up @@ -101,9 +102,10 @@ jobs:
args: --release --out dist --find-interpreter --manifest-path bindings/lyric-py/Cargo.toml
sccache: 'true'
manylinux: musllinux_1_2
docker-options: |
-e PROTOC_ARCH=${{ matrix.platform.target }}
before-script-linux: |
PROTOC_VERSION="28.2"
PROTOC_ARCH=${{ matrix.target }}
if [ "$PROTOC_ARCH" = "i686" ]; then
PROTOC_ARCH="x86_32"
elif [ "$PROTOC_ARCH" = "aarch64" ]; then
Expand Down

0 comments on commit 1738db8

Please sign in to comment.