diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc3da0c..bc01582 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, macos-13, windows-2022] + os: [ubuntu-22.04, macos-14, windows-2022] sofa_branch: [master, v24.12] steps: diff --git a/action.yml b/action.yml index 544aceb..aa0fd52 100644 --- a/action.yml +++ b/action.yml @@ -236,7 +236,10 @@ runs: echo "PYTHONIOENCODING=UTF-8" | tee -a $GITHUB_ENV # Set PYTHON_ROOT and PYTHON_EXE - PYTHON_ROOT="$(find $RUNNER_TOOL_CACHE -maxdepth 3 -type d -path '**/Python/${{ steps.install-python.outputs.python-version }}*/x64')" + + PYTHON_ROOT="$(find $RUNNER_TOOL_CACHE -maxdepth 3 -type d -path '**/Python/${{ steps.install-python.outputs.python-version }}*/*64')" + + PYTHON_ROOT="$(cd $PYTHON_ROOT && pwd -W 2>/dev/null || pwd)" if [ -e "$PYTHON_ROOT/python.exe" ]; then PYTHON_EXE="$PYTHON_ROOT/python.exe"