mirror of
https://github.com/actions/setup-go.git
synced 2026-10-10 17:04:16 +03:00
Pass the token input through on GHES (#277)
This commit is contained in:
1 parent
c4a742cab1
commit
27b43e1b0d
4 files changed
+19
-4
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ export async function run() {
|
||||
|
||||
if (versionSpec) {
|
||||
let token = core.getInput('token');
|
||||
let auth = !token || isGhes() ? undefined : `token ${token}`;
|
||||
let auth = !token ? undefined : `token ${token}`;
|
||||
|
||||
const checkLatest = core.getBooleanInput('check-latest');
|
||||
const installDir = await installer.getGo(
|
||||
|
||||
Reference in new issue
Block a user