diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 887f28531..3ef145e95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -182,6 +182,21 @@ jobs: run: | imageroot=$(find "${HOME}/JDK" -name release -type f) echo "TEST_JDK_HOME=$(dirname "${imageroot}")" >> "$GITHUB_ENV" + + - name: Clean /usr/local/bin/2to3.. to avoid python3 install link failure + run: | + # See: https://github.com/adoptium/temurin-build/issues/3550#issuecomment-1833369679 + rm -f '/usr/local/bin/2to3' + rm -f '/usr/local/bin/2to3-3.11' + rm -f '/usr/local/bin/idle3' + rm -f '/usr/local/bin/idle3.11' + rm -f '/usr/local/bin/pydoc3' + rm -f '/usr/local/bin/pydoc3.11' + rm -f '/usr/local/bin/python3' + rm -f '/usr/local/bin/python3.11' + rm -f '/usr/local/bin/python3-config' + rm -f '/usr/local/bin/python3.11-config' + - name: Smoke test uses: adoptium/run-aqa@6bacb4e732ad546eda1b09665b9067cdc87651f4 # v2 with: