From ecddc3b614fe12114117521160a5d7005a95a559 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Mon, 14 Jul 2025 18:34:39 +0530 Subject: [PATCH 1/5] doc update --- docs/advanced-usage.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 96524823e..5345a8d77 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -472,12 +472,16 @@ jobs: These environment variables become available after setup-python action execution: -| **Env.variable** | **Description** | -| ----------- | ----------- | -| pythonLocation |Contains the absolute path to the folder where the requested version of Python or PyPy is installed| -| Python_ROOT_DIR | https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython | -| Python2_ROOT_DIR |https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2| -| Python3_ROOT_DIR |https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3| +### Environment variables + +These environment variables become available after setup-python action execution: + +| Env. variable | Description | +|----------------------|-------------| +| `pythonLocation` | Contains the absolute path to the folder where the requested version of Python, PyPy, or GraalPy is installed.

**Executable location by implementation:**
• **CPython** – `$pythonLocation/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **PyPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **GraalPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)

Note: CPython versions include a symlink or copy of the `python` executable at the root, while PyPy and GraalPy retain upstream directory layouts. | +| `Python_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython | +| `Python2_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2 | +| `Python3_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3 | ## Using `update-environment` flag From f3af55dd41a9c6b23947ad791de14b86e3385bf7 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Tue, 15 Jul 2025 12:43:19 +0530 Subject: [PATCH 2/5] doc update --- docs/advanced-usage.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 5345a8d77..7b85d5267 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -468,10 +468,6 @@ jobs: - run: echo '${{ steps.cp313.outputs.cache-hit }}' # true if cache-hit occurred on the primary key ``` -## Environment variables - -These environment variables become available after setup-python action execution: - ### Environment variables These environment variables become available after setup-python action execution: From 2b0d5e7580fbcc908b043aa431dcc17a73158f1e Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Mon, 28 Jul 2025 18:49:29 +0530 Subject: [PATCH 3/5] doc update --- docs/advanced-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 7b85d5267..5e4270db4 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -474,7 +474,7 @@ These environment variables become available after setup-python action execution | Env. variable | Description | |----------------------|-------------| -| `pythonLocation` | Contains the absolute path to the folder where the requested version of Python, PyPy, or GraalPy is installed.

**Executable location by implementation:**
• **CPython** – `$pythonLocation/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **PyPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **GraalPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)

Note: CPython versions include a symlink or copy of the `python` executable at the root, while PyPy and GraalPy retain upstream directory layouts. | +| `pythonLocation` | Contains the absolute path to the folder where the requested version of Python, PyPy, or GraalPy is installed.

**Executable location by implementation:**
• **CPython** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **PyPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **GraalPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)

Note: CPython versions include a symlink or copy of the `python` executable at the root, while PyPy and GraalPy retain upstream directory layouts. | | `Python_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython | | `Python2_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2 | | `Python3_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3 | From 4f99b796934e49503ab4294bb4eafebe6066ffb7 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Mon, 28 Jul 2025 19:04:16 +0530 Subject: [PATCH 4/5] doc update --- docs/advanced-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 5e4270db4..d7a89db29 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -474,7 +474,7 @@ These environment variables become available after setup-python action execution | Env. variable | Description | |----------------------|-------------| -| `pythonLocation` | Contains the absolute path to the folder where the requested version of Python, PyPy, or GraalPy is installed.

**Executable location by implementation:**
• **CPython** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **PyPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **GraalPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)

Note: CPython versions include a symlink or copy of the `python` executable at the root, while PyPy and GraalPy retain upstream directory layouts. | +| `pythonLocation` | Contains the absolute path to the folder where the requested version of Python, PyPy, or GraalPy is installed.

**Executable location by implementation:**
• **CPython** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **PyPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **GraalPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)

Note: CPython versions include a symlink or copy of the Python executable at the root, while PyPy and GraalPy retain upstream directory layouts. | | `Python_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython | | `Python2_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2 | | `Python3_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3 | From bc16315c29caeffae684531ee02b2d203a9f0c5c Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Tue, 12 Aug 2025 17:53:16 +0530 Subject: [PATCH 5/5] doc update --- docs/advanced-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index d7a89db29..7f2c469bb 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -474,7 +474,7 @@ These environment variables become available after setup-python action execution | Env. variable | Description | |----------------------|-------------| -| `pythonLocation` | Contains the absolute path to the folder where the requested version of Python, PyPy, or GraalPy is installed.

**Executable location by implementation:**
• **CPython** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **PyPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **GraalPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)

Note: CPython versions include a symlink or copy of the Python executable at the root, while PyPy and GraalPy retain upstream directory layouts. | +| `pythonLocation` | Contains the absolute path to the folder where the requested version of Python, PyPy, or GraalPy is installed.

**Executable location by implementation:**
• **CPython** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **PyPy** – `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows)
• **GraalPy** – `$pythonLocation/bin/python` (Linux/macOS)

Note: CPython versions include a symlink or copy of the Python executable at the root, while PyPy and GraalPy retain upstream directory layouts. | | `Python_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython | | `Python2_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2 | | `Python3_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3 |