diff --git a/dist/index.js b/dist/index.js index dc3e1f6..2b8903f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -578,17 +578,6 @@ function run() { if (sourceUrl) { auth.configAuthentication(sourceUrl, configFile); } - // const comparisonRange: string = globalJsonFileInput - // ? versions[versions.length - 1]! - // : '*'; - // const versionToOutput = semver.maxSatisfying( - // installedDotnetVersions, - // comparisonRange, - // { - // includePrerelease: true - // } - // ); - // core.setOutput('dotnet-version', versionToOutput); outputInstalledVersion(installedDotnetVersions, globalJsonFileInput); const matchersPath = path_1.default.join(__dirname, '..', '.github'); core.info(`##[add-matcher]${path_1.default.join(matchersPath, 'csc.json')}`); diff --git a/src/setup-dotnet.ts b/src/setup-dotnet.ts index 1a4755a..188257b 100644 --- a/src/setup-dotnet.ts +++ b/src/setup-dotnet.ts @@ -78,19 +78,6 @@ export async function run() { auth.configAuthentication(sourceUrl, configFile); } - // const comparisonRange: string = globalJsonFileInput - // ? versions[versions.length - 1]! - // : '*'; - - // const versionToOutput = semver.maxSatisfying( - // installedDotnetVersions, - // comparisonRange, - // { - // includePrerelease: true - // } - // ); - - // core.setOutput('dotnet-version', versionToOutput); outputInstalledVersion(installedDotnetVersions, globalJsonFileInput); const matchersPath = path.join(__dirname, '..', '.github');