diff --git a/src/default_versions.ts b/src/default_versions.ts index 5a421dc5..57eb8083 100644 --- a/src/default_versions.ts +++ b/src/default_versions.ts @@ -7,7 +7,7 @@ const DefaultVersions: Record = { conan: "1.40.1", meson: "0.59.1", python: "3.x", - gcc: "11.2.0", + gcc: "11", } /** Get the default version if passed true or undefined, otherwise return the version itself */ diff --git a/src/gcc/__tests__/gcc.test.ts b/src/gcc/__tests__/gcc.test.ts index b802de11..b0ef0e46 100644 --- a/src/gcc/__tests__/gcc.test.ts +++ b/src/gcc/__tests__/gcc.test.ts @@ -4,7 +4,7 @@ import { setupGcc } from "../gcc" jest.setTimeout(200000) describe("setup-gcc", () => { it("should setup gcc", async () => { - const installInfo = await setupGcc("11.2.0", "", "") + const installInfo = await setupGcc("11", "", "") await testBin("g++", ["--version"], installInfo?.binDir) })