mirror of
https://github.com/actions/setup-go.git
synced 2025-05-04 14:14:34 +00:00
Pass the token input through on GHES (#277)
This commit is contained in:
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -63519,7 +63519,7 @@ function run() {
|
||||
}
|
||||
if (versionSpec) {
|
||||
let token = core.getInput('token');
|
||||
let auth = !token || cache_utils_1.isGhes() ? undefined : `token ${token}`;
|
||||
let auth = !token ? undefined : `token ${token}`;
|
||||
const checkLatest = core.getBooleanInput('check-latest');
|
||||
const installDir = yield installer.getGo(versionSpec, checkLatest, auth, arch);
|
||||
core.addPath(path_1.default.join(installDir, 'bin'));
|
||||
|
Reference in New Issue
Block a user