Introduce new stable alias type

This commit is contained in:
panticmilos 2022-11-20 19:13:39 +01:00
parent d33323e2b9
commit 5552b45f54
2 changed files with 4 additions and 3 deletions

View file

@ -4,7 +4,7 @@ import * as installer from './installer';
import * as semver from 'semver';
import path from 'path';
import {restoreCache} from './cache-restore';
import {isGhes, isCacheFeatureAvailable} from './cache-utils';
import {isCacheFeatureAvailable} from './cache-utils';
import cp from 'child_process';
import fs from 'fs';
import os from 'os';
@ -150,7 +150,7 @@ function resolveVersionInput(): string {
}
async function resolveStableVersionInput(
versionSpec: string,
versionSpec: installer.StableAliasType,
auth: string | undefined,
arch = os.arch()
): Promise<string> {