mirror of
https://code.forgejo.org/actions/setup-go
synced 2025-06-08 11:38:22 +02:00
Pass the token input through on GHES (#277)
This commit is contained in:
parent
c4a742cab1
commit
27b43e1b0d
4 changed files with 19 additions and 4 deletions
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'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue