!drop build for test

This commit is contained in:
Matthew Hughes 2024-02-08 10:54:09 +00:00
parent 6a7d247afe
commit ebf50616f3

5
dist/setup/index.js vendored
View file

@ -61819,8 +61819,9 @@ function run() {
const goPath = yield io.which('go');
// run `go version` with the bundled Go toolchain to avoid potentially
// downloading one into the cache
const goVersion = (child_process_1.default.execSync(`${goPath} version`) || '',
{ env: Object.assign(Object.assign({}, process.env), { GOTOOLCHAIN: 'local' }) }).toString();
const goVersion = (child_process_1.default.execSync(`${goPath} version`, {
env: Object.assign(Object.assign({}, process.env), { GOTOOLCHAIN: 'local' })
}) || '').toString();
if (cache && cache_utils_1.isCacheFeatureAvailable()) {
const packageManager = 'default';
const cacheDependencyPath = core.getInput('cache-dependency-path');