Revert "Revert "Pass the token input through on GHES (#427)" (#437)"

This reverts commit cf86e08a31.
This commit is contained in:
Brian Cristante 2022-08-05 14:42:32 -04:00
parent bb03901592
commit 5ee239573c
4 changed files with 12 additions and 5 deletions

2
dist/setup/index.js vendored
View file

@ -65190,7 +65190,7 @@ const tc = __importStar(__nccwpck_require__(7784));
const exec = __importStar(__nccwpck_require__(1514));
const utils_1 = __nccwpck_require__(1314);
const TOKEN = core.getInput('token');
const AUTH = !TOKEN || utils_1.isGhes() ? undefined : `token ${TOKEN}`;
const AUTH = !TOKEN ? undefined : `token ${TOKEN}`;
const MANIFEST_REPO_OWNER = 'actions';
const MANIFEST_REPO_NAME = 'python-versions';
const MANIFEST_REPO_BRANCH = 'main';