From d02554479192ce1765ad52737ffc966eb5cab93e Mon Sep 17 00:00:00 2001 From: MaksimZhukov Date: Wed, 15 Jul 2020 19:28:19 +0300 Subject: [PATCH] Update README --- README.md | 6 ++---- __tests__/finder.test.ts | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dc3f2725..b7146fdb 100644 --- a/README.md +++ b/README.md @@ -92,26 +92,24 @@ jobs: ``` -Download and set up a specific unstable version of Python: +Download and set up the accurate pre-release version of Python: ```yaml steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: '3.9.0-beta.4' - architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified stable: false # optional true or false. Defaults to true if not specified - run: python my_script.py ``` -Download and set up a latest available unstable version of Python (including a stable version): +Download and set up the latest available version of Python (including both pre-release and stable versions): ```yaml steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: '3.9.0-alpha - 3.9.0' # SemVer's version range syntax - architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified stable: false # optional true or false. Defaults to true if not specified - run: python my_script.py ``` diff --git a/__tests__/finder.test.ts b/__tests__/finder.test.ts index 4bc1e9c5..b3a8df13 100644 --- a/__tests__/finder.test.ts +++ b/__tests__/finder.test.ts @@ -55,7 +55,7 @@ describe('Finder tests', () => { await finder.findPythonVersion('1.2.3', 'x64', true); }); - it('Finds unstable Python version in the manifest', async () => { + it('Finds pre-release Python version in the manifest', async () => { const findSpy: jest.SpyInstance = jest.spyOn(tc, 'getManifestFromRepo'); findSpy.mockImplementation(() => manifestData);