From 67680e14e1085653209c4194f879bc9a95bff1e5 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Wed, 31 Jan 2024 23:11:47 -0800 Subject: [PATCH] Use specific version of python for arm64 macsos wheel --- .github/workflows/build.arm64.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.arm64.yml b/.github/workflows/build.arm64.yml index 1744f5a3e..c24c8a86b 100644 --- a/.github/workflows/build.arm64.yml +++ b/.github/workflows/build.arm64.yml @@ -51,12 +51,11 @@ jobs: python --version brew search python brew install python@${{ matrix.python }} - python3 --version - python --version - python -m pip install -U wheel setuptools - python setup.py --data bazel-bin -q bdist_wheel --plat-name macosx_12_0_arm64 + python${{ matrix.python }} --version + python${{ matrix.python }} -m pip install -U wheel setuptools + python${{ matrix.python }} setup.py --data bazel-bin -q bdist_wheel --plat-name macosx_12_0_arm64 rm -rf build - python setup.py --project tensorflow-io-gcs-filesystem --data bazel-bin -q bdist_wheel --plat-name macosx_12_0_arm64 + python${{ matrix.python }} setup.py --project tensorflow-io-gcs-filesystem --data bazel-bin -q bdist_wheel --plat-name macosx_12_0_arm64 ls dist/* mkdir -p wheelhouse for f in dist/*.whl; do