From 6ef4a34ada5861701dc32e9fe5e70f6c8620e3e7 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Thu, 16 Sep 2021 17:17:32 -0500 Subject: [PATCH] fix: add message for gcc-multilib --- src/gcc/gcc.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gcc/gcc.ts b/src/gcc/gcc.ts index 94655f88..e4f8056f 100644 --- a/src/gcc/gcc.ts +++ b/src/gcc/gcc.ts @@ -1,4 +1,4 @@ -import { addPath, exportVariable } from "@actions/core" +import { addPath, exportVariable, info } from "@actions/core" import { existsSync } from "fs" import { setupAptPack } from "../utils/setup/setupAptPack" import { setupBrewPack } from "../utils/setup/setupBrewPack" @@ -31,6 +31,7 @@ export async function setupGcc(version: string, _setupCppDir: string, arch: stri if (arch === "x64") { binDir = (await setupAptPack("g++", version, "ppa:ubuntu-toolchain-r/test")).binDir } else { + info(`Install g++-multilib because gcc for ${arch} was requested`) binDir = (await setupAptPack("g++-multilib", version, "ppa:ubuntu-toolchain-r/test")).binDir } break