This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to tag v0.12.0-rc1
in repository https://gitbox.apache.org/repos/asf/fory.git

commit fa544ff17ff5b695d2eac63ac957f13f2c8af855
Author: chaokunyang <[email protected]>
AuthorDate: Thu Aug 14 19:40:22 2025 +0800

    fix release python
---
 .github/workflows/release.yaml | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 25cbba768..328bf7b74 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -69,7 +69,11 @@ jobs:
              DOCKER_IMAGE="${{ env.manylinux_aarch64_image }}"
              PLAT="manylinux_2_28_aarch64"
            fi
-           docker run --rm -e PLAT=$PLAT \
+           PY_VERSION=${{ matrix.python-version }}
+           echo "PY_VERSION: $PY_VERSION"
+           PY_VERSION=${PY_VERSION//./}
+           echo "PY_VERSION without dots: $PY_VERSION"
+           docker run --rm -e PY_VERSION="$PY_VERSION" -e PLAT="$PLAT" \
              -v ${{ github.workspace }}:/work \
              -w /work "$DOCKER_IMAGE" \
              bash -c "
@@ -78,6 +82,18 @@ jobs:
                yum install -y git sudo wget
                git config --global --add safe.directory /work
 
+               ls -alh /opt/python
+               
+               echo "PY_VERSION: $PY_VERSION"
+               ls /opt/python/cp${PY_VERSION}-cp${PY_VERSION}
+               ls /opt/python/cp${PY_VERSION}-cp${PY_VERSION}/bin
+
+               export 
PATH=/opt/python/cp${PY_VERSION}-cp${PY_VERSION}/bin:$PATH
+               echo "PATH: $PATH"
+
+               echo "Using Python from: $(which python)"
+               echo "Python version: $(python -V)"
+
                # Install Bazel inside the container
                bash ci/run_ci.sh install_bazel
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to