mirror of
https://github.com/actions/setup-python.git
synced 2026-01-19 19:38:56 +08:00
Add support of unstable Python versions
This commit is contained in:
parent
654aa00a6e
commit
8fbc418d76
9 changed files with 4179 additions and 4088 deletions
|
|
@ -15,7 +15,8 @@ const IS_WINDOWS = process.platform === 'win32';
|
|||
|
||||
export async function findReleaseFromManifest(
|
||||
semanticVersionSpec: string,
|
||||
architecture: string
|
||||
architecture: string,
|
||||
stable: boolean
|
||||
): Promise<tc.IToolRelease | undefined> {
|
||||
const manifest: tc.IToolRelease[] = await tc.getManifestFromRepo(
|
||||
MANIFEST_REPO_OWNER,
|
||||
|
|
@ -25,7 +26,7 @@ export async function findReleaseFromManifest(
|
|||
);
|
||||
return await tc.findFromManifest(
|
||||
semanticVersionSpec,
|
||||
true,
|
||||
stable,
|
||||
manifest,
|
||||
architecture
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue