mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-20 16:29:21 +00:00
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 https://github.com/tailscale/github-action/issues/287 Signed-off-by: Mario Minardi <mario@tailscale.com>
This commit is contained in:
parent
546937c0d1
commit
391b3df323
2 changed files with 2 additions and 0 deletions
1
dist/index.js
generated
vendored
1
dist/index.js
generated
vendored
|
|
@ -52652,6 +52652,7 @@ async function installTailscaleMacOS(config, toolPath) {
|
|||
env: {
|
||||
...process.env,
|
||||
TS_USE_TOOLCHAIN: "1",
|
||||
GOWORK: "off",
|
||||
},
|
||||
logMode: config.logMode,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -696,6 +696,7 @@ async function installTailscaleMacOS(
|
|||
env: {
|
||||
...process.env,
|
||||
TS_USE_TOOLCHAIN: "1",
|
||||
GOWORK: "off",
|
||||
},
|
||||
logMode: config.logMode,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue