Skip to content

Commit 1e1a2c7

Browse files
committed
fix: add make to the PATH on macos
1 parent d7ccf05 commit 1e1a2c7

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

dist/setup_cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/make/make.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { addPath } from "@actions/core"
12
import { setupAptPack } from "../utils/setup/setupAptPack"
23
import { setupBrewPack } from "../utils/setup/setupBrewPack"
34
import { setupChocoPack } from "../utils/setup/setupChocoPack"
@@ -9,7 +10,9 @@ export function setupMake(version: string, _setupDir: string, _arch: string) {
910
return setupChocoPack("make", version)
1011
}
1112
case "darwin": {
12-
return setupBrewPack("make", version)
13+
setupBrewPack("make", version)
14+
addPath("/usr/local/opt/make/libexec/gnubin")
15+
return { binDir: "/usr/local/opt/make/libexec/gnubin" }
1316
}
1417
case "linux": {
1518
return setupAptPack("make", version)

0 commit comments

Comments
 (0)