mirror of https://github.com/aminya/setup-cpp
fix: add make to the PATH on macos
This commit is contained in:
parent
d7ccf0506b
commit
1e1a2c7082
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,4 @@
|
|||
import { addPath } from "@actions/core"
|
||||
import { setupAptPack } from "../utils/setup/setupAptPack"
|
||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
||||
|
@ -9,7 +10,9 @@ export function setupMake(version: string, _setupDir: string, _arch: string) {
|
|||
return setupChocoPack("make", version)
|
||||
}
|
||||
case "darwin": {
|
||||
return setupBrewPack("make", version)
|
||||
setupBrewPack("make", version)
|
||||
addPath("/usr/local/opt/make/libexec/gnubin")
|
||||
return { binDir: "/usr/local/opt/make/libexec/gnubin" }
|
||||
}
|
||||
case "linux": {
|
||||
return setupAptPack("make", version)
|
||||
|
|
Loading…
Reference in New Issue