squash! Configure environment to avoid toolchain installs

Only modify env if `GOTOOLCHAIN` is not set
This commit is contained in:
Matthew Hughes 2025-08-25 20:07:45 +01:00
parent 7252af563b
commit 277ab1eb0e
3 changed files with 20 additions and 17 deletions

View file

@ -8,6 +8,8 @@ import fs from 'fs';
import os from 'os';
import {StableReleaseAlias, isSelfHosted} from './utils';
export const GOTOOLCHAIN_ENV_VAR = 'GOTOOLCHAIN';
export const GOTOOLCHAIN_LOCAL_VAL = 'local';
const MANIFEST_REPO_OWNER = 'actions';
const MANIFEST_REPO_NAME = 'go-versions';
const MANIFEST_REPO_BRANCH = 'main';