mirror of
https://github.com/actions/setup-node.git
synced 2025-06-29 14:13:49 +00:00
checks update
This commit is contained in:
parent
d61dc50c40
commit
dd2fa9d9f8
5 changed files with 5 additions and 141 deletions
|
@ -7,11 +7,7 @@ import * as path from 'path';
|
|||
import {restoreCache} from './cache-restore';
|
||||
import {isCacheFeatureAvailable} from './cache-utils';
|
||||
import {getNodejsDistribution} from './distributions/installer-factory';
|
||||
import {
|
||||
getNodeVersionFromFile,
|
||||
printEnvDetailsAndSetOutput,
|
||||
validateMirrorURL
|
||||
} from './util';
|
||||
import {getNodeVersionFromFile, printEnvDetailsAndSetOutput} from './util';
|
||||
import {State} from './constants';
|
||||
|
||||
export async function run() {
|
||||
|
@ -37,8 +33,7 @@ export async function run() {
|
|||
arch = os.arch();
|
||||
}
|
||||
|
||||
const mirrorurl = core.getInput('mirror-url');
|
||||
const mirrorURL = validateMirrorURL(mirrorurl);
|
||||
const mirrorURL = core.getInput('mirror-url');
|
||||
|
||||
if (version) {
|
||||
const token = core.getInput('token');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue