Skip to content

Commit 12a076c

Browse files
authored
ci: Disable zigbuild to workaround undefined symbol (#5936)
* ci: Disable zigbuild to workaround undefined symbol Signed-off-by: Xuanwo <[email protected]> * Fix build Signed-off-by: Xuanwo <[email protected]> --------- Signed-off-by: Xuanwo <[email protected]>
1 parent 4046edf commit 12a076c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release_java.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ on:
3131
- "bindings/java/tools/build.py"
3232
workflow_dispatch:
3333

34+
env:
35+
# Refer to https://github.com/apache/opendal/issues/5935
36+
CARGO_BUILD_ENABLE_ZIGBUILD: "false"
37+
3438
jobs:
3539
stage-snapshot:
3640
runs-on: ${{ matrix.os }}
@@ -90,7 +94,7 @@ jobs:
9094
-Djni.classifier=${{ matrix.classifier }} \
9195
-Dcargo-build.profile=release \
9296
-Dcargo-build.features=services-all \
93-
-Dcargo-build.enableZigbuild=true \
97+
-Dcargo-build.enableZigbuild=${{ env.CARGO_BUILD_ENABLE_ZIGBUILD }} \
9498
-DaltStagingDirectory=local-staging \
9599
-DskipRemoteStaging=true \
96100
-DserverId=apache.releases.https \

0 commit comments

Comments
 (0)