From 5414eda0c4b1b7e9963ee22da9499e34d41c63e8 Mon Sep 17 00:00:00 2001 From: james Date: Fri, 24 Jun 2022 01:04:18 +0100 Subject: [PATCH 1/2] readme - clarify how to get latest stable version, for specified major version --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index d5968fdc6..6e885a7d9 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,16 @@ steps: - run: python my_script.py ``` +Download and set up the latest stable version of Python, for specified major version: +```yaml +steps: +- uses: actions/checkout@v3 +- uses: actions/setup-python@v4 + with: + python-version: '3.x' +- run: python my_script.py +``` + Download and set up PyPy: ```yaml From e280555c84ed5a590c7b0c738e31ad48ccc084ce Mon Sep 17 00:00:00 2001 From: james Date: Fri, 24 Jun 2022 01:06:34 +0100 Subject: [PATCH 2/2] readme - clarify how to get latest dev/patch version, for specified major + minor versions --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e885a7d9..761103f47 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,17 @@ steps: - run: python my_script.py ``` -Download and set up the latest stable version of Python, for specified major version: +Download and set up the latest patch version of Python (for specified major & minor versions): +```yaml +steps: +- uses: actions/checkout@v3 +- uses: actions/setup-python@v4 + with: + python-version: '3.11-dev' +- run: python my_script.py +``` + +Download and set up the latest stable version of Python (for specified major version): ```yaml steps: - uses: actions/checkout@v3