Skip to content

Commit 391b3df

Browse files
committed
src: set GOWORK to "off" for macOS builds
Explicitly set GOWORK to "off" when building macOS from source to ensure we do not pick up go.work files from host repositories where the action is being run. Updates #287 Signed-off-by: Mario Minardi <mario@tailscale.com>
1 parent 546937c commit 391b3df

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

dist/index.js

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

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ async function installTailscaleMacOS(
696696
env: {
697697
...process.env,
698698
TS_USE_TOOLCHAIN: "1",
699+
GOWORK: "off",
699700
},
700701
logMode: config.logMode,
701702
},

0 commit comments

Comments
 (0)