mirror of https://github.com/aminya/setup-cpp
fix: use python 3.9.7
This commit is contained in:
parent
520073832d
commit
d749362c4e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -6,7 +6,7 @@ const DefaultVersions: Record<string, string> = {
|
||||||
gcovr: "5.0",
|
gcovr: "5.0",
|
||||||
conan: "1.40.1",
|
conan: "1.40.1",
|
||||||
meson: "0.59.1",
|
meson: "0.59.1",
|
||||||
python: "3.x",
|
python: "3.9.7",
|
||||||
gcc: process.platform === "win32" ? "11.2.0" : "11",
|
gcc: process.platform === "win32" ? "11.2.0" : "11",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ let hasChoco = false
|
||||||
/** A function that installs a package using choco */
|
/** A function that installs a package using choco */
|
||||||
export async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise<InstallationInfo> {
|
export async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise<InstallationInfo> {
|
||||||
if (!hasChoco || which.sync("choco", { nothrow: true }) === null) {
|
if (!hasChoco || which.sync("choco", { nothrow: true }) === null) {
|
||||||
await setupChocolatey("", "", process.arch)
|
setupChocolatey("", "", process.arch)
|
||||||
hasChoco = true
|
hasChoco = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue