fix: add message for gcc-multilib

This commit is contained in:
Amin Yahyaabadi 2021-09-16 17:17:32 -05:00
parent 2c79ba1c6a
commit 6ef4a34ada
1 changed files with 2 additions and 1 deletions

View File

@ -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