npm run test update

This commit is contained in:
Aparna Jyothi 2025-02-21 13:16:46 +05:30
parent 07b84a2324
commit e5561a4d32
8 changed files with 105 additions and 579 deletions

View file

@ -33,7 +33,12 @@ export async function run() {
arch = os.arch();
}
const mirrorURL = core.getInput('mirror-url').trim(); // .trim() to remove any accidental spaces
const mirrorURL = core.getInput('mirror-url');
if (mirrorURL === ' ' && mirrorURL === undefined) {
core.error(
'Mirror URL is emptry or undefined. The default mirror URL will be used.'
);
}
if (version) {
const token = core.getInput('token');
@ -116,3 +121,6 @@ function resolveVersionInput(): string {
return version;
}
export function setupNodeJs(mirrorURL: string) {
throw new Error('Function not implemented.');
}