From 68a72033b7051070ea6d611d9e04764eb40e0ccf Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Fri, 27 Oct 2023 20:19:58 +0000 Subject: [PATCH] Update python version --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce0533d3a..51c26ae10 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -306,8 +306,9 @@ jobs: shell: bash run: | set -x -e - rm -f /usr/bin/python3 - ln -s /usr/local/bin/python3.9 /usr/bin/python3 + export + sudo rm -f /usr/bin/python3 + sudo ln -s /usr/local/bin/python3.9 /usr/bin/python3 export BAZEL_OPTIMIZATION="--config=optimization" # --config=linux_ci --config=cache if [[ "${EVENT_NAME}" == "push" && "${REPO_NAME}" == "tensorflow/io" ]]; then export BAZEL_OPTIMIZATION="$BAZEL_OPTIMIZATION --remote_upload_local_results=true --google_credentials=service_account_creds.json"