|
11 | 11 | - [Outputs](advanced-usage.md#outputs)
|
12 | 12 | - [Environment variables](advanced-usage.md#environment-variables)
|
13 | 13 | - [Using update-environment flag](advanced-usage.md#using-update-environment-flag)
|
14 |
| -- [Available versions of Python and PyPy](advanced-usage.md#available-versions-of-python-and-pypy) |
| 14 | +- [Available versions of Python and PyPy](advanced-usage.md#available-versions-of-python-pypy-and-graalpy) |
15 | 15 | - [Python](advanced-usage.md#python)
|
16 | 16 | - [PyPy](advanced-usage.md#pypy)
|
| 17 | + - [GraalPy](advanced-usage.md#graalpy) |
17 | 18 | - [Hosted tool cache](advanced-usage.md#hosted-tool-cache)
|
18 | 19 | - [Using `setup-python` with a self-hosted runner](advanced-usage.md#using-setup-python-with-a-self-hosted-runner)
|
19 | 20 | - [Windows](advanced-usage.md#windows)
|
@@ -459,7 +460,7 @@ Such a requirement on side-effect could be because you don't want your composite
|
459 | 460 | update-environment: false
|
460 | 461 | - run: ${{ steps.cp310.outputs.python-path }} my_script.py
|
461 | 462 | ```
|
462 |
| -## Available versions of Python and PyPy |
| 463 | +## Available versions of Python, PyPy and GraalPy |
463 | 464 | ### Python
|
464 | 465 |
|
465 | 466 | `setup-python` is able to configure **Python** from two sources:
|
@@ -490,6 +491,11 @@ Such a requirement on side-effect could be because you don't want your composite
|
490 | 491 | - PyPy < 7.3.3 are not available to install on-flight.
|
491 | 492 | - If some versions are not available, you can open an issue in https://foss.heptapod.net/pypy/pypy/
|
492 | 493 |
|
| 494 | +### GraalPy |
| 495 | + |
| 496 | + `setup-python` is able to download GraalPy versions from the [official GraalPy repository](https://github.com/oracle/graalpython). |
| 497 | + - All available versions that we can download are listed in [releases](https://github.com/oracle/graalpython/releases). |
| 498 | + |
493 | 499 | ## Hosted tool cache
|
494 | 500 |
|
495 | 501 | GitHub hosted runners have a tool cache that comes with a few versions of Python + PyPy already installed. This tool cache helps speed up runs and tool setup by not requiring any new downloads. There is an environment variable called `RUNNER_TOOL_CACHE` on each runner that describes the location of the tool cache with Python and PyPy installed. `setup-python` works by taking a specific version of Python or PyPy from this tool cache and adding it to PATH.
|
|
0 commit comments