From 75111b0ef295ba233e89ded30c003717bb30cab6 Mon Sep 17 00:00:00 2001 From: Paul Baksic Date: Tue, 28 Jan 2025 16:27:06 +0100 Subject: [PATCH 1/2] Try changing regex --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" From dce886585972fa96454d3e2bea64c00b962aae68 Mon Sep 17 00:00:00 2001 From: Paul Baksic Date: Tue, 28 Jan 2025 16:28:23 +0100 Subject: [PATCH 2/2] Change macos version in test --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: