mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +00:00
!drop build for test
This commit is contained in:
parent
6a7d247afe
commit
ebf50616f3
1 changed files with 3 additions and 2 deletions
5
dist/setup/index.js
vendored
5
dist/setup/index.js
vendored
|
@ -61819,8 +61819,9 @@ function run() {
|
||||||
const goPath = yield io.which('go');
|
const goPath = yield io.which('go');
|
||||||
// run `go version` with the bundled Go toolchain to avoid potentially
|
// run `go version` with the bundled Go toolchain to avoid potentially
|
||||||
// downloading one into the cache
|
// downloading one into the cache
|
||||||
const goVersion = (child_process_1.default.execSync(`${goPath} version`) || '',
|
const goVersion = (child_process_1.default.execSync(`${goPath} version`, {
|
||||||
{ env: Object.assign(Object.assign({}, process.env), { GOTOOLCHAIN: 'local' }) }).toString();
|
env: Object.assign(Object.assign({}, process.env), { GOTOOLCHAIN: 'local' })
|
||||||
|
}) || '').toString();
|
||||||
if (cache && cache_utils_1.isCacheFeatureAvailable()) {
|
if (cache && cache_utils_1.isCacheFeatureAvailable()) {
|
||||||
const packageManager = 'default';
|
const packageManager = 'default';
|
||||||
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
const cacheDependencyPath = core.getInput('cache-dependency-path');
|
||||||
|
|
Loading…
Add table
Reference in a new issue