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 { setupAptPack } from "../utils/setup/setupAptPack"
|
||||||
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
import { setupBrewPack } from "../utils/setup/setupBrewPack"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
||||||
|
@ -9,7 +10,9 @@ export function setupMake(version: string, _setupDir: string, _arch: string) {
|
||||||
return setupChocoPack("make", version)
|
return setupChocoPack("make", version)
|
||||||
}
|
}
|
||||||
case "darwin": {
|
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": {
|
case "linux": {
|
||||||
return setupAptPack("make", version)
|
return setupAptPack("make", version)
|
||||||
|
|
Loading…
Reference in New Issue