mirror of
https://github.com/actions/setup-python.git
synced 2025-06-08 14:37:00 +09:00
This reverts commit 7e4abae443
.
This commit is contained in:
parent
8fb4cbf7c8
commit
cf86e08a31
5 changed files with 7 additions and 14 deletions
|
@ -3,10 +3,10 @@ import * as core from '@actions/core';
|
|||
import * as tc from '@actions/tool-cache';
|
||||
import * as exec from '@actions/exec';
|
||||
import {ExecOptions} from '@actions/exec/lib/interfaces';
|
||||
import {IS_WINDOWS, IS_LINUX} from './utils';
|
||||
import {IS_WINDOWS, IS_LINUX, isGhes} from './utils';
|
||||
|
||||
const TOKEN = core.getInput('token');
|
||||
const AUTH = !TOKEN ? undefined : `token ${TOKEN}`;
|
||||
const AUTH = !TOKEN || isGhes() ? undefined : `token ${TOKEN}`;
|
||||
const MANIFEST_REPO_OWNER = 'actions';
|
||||
const MANIFEST_REPO_NAME = 'python-versions';
|
||||
const MANIFEST_REPO_BRANCH = 'main';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue