Fix use of wrong URL

This commit is contained in:
Robert Brignull 2020-08-26 13:26:36 +01:00
parent 3ffe4b7421
commit f5d645fc73
19 changed files with 19 additions and 34 deletions

2
lib/api-client.js generated
View file

@ -52,7 +52,7 @@ function parseAuth(auth) {
// Once all code has been coverted this function should be removed or made canonical
// and called only from the action entrypoints.
function getActionsApiClient(allowLocalRun = false) {
return exports.getApiClient(core.getInput('token'), util_1.getRequiredEnvParam('GITHUB_API_URL'), allowLocalRun);
return exports.getApiClient(core.getInput('token'), util_1.getRequiredEnvParam('GITHUB_SERVER_URL'), allowLocalRun);
}
exports.getActionsApiClient = getActionsApiClient;
//# sourceMappingURL=api-client.js.map