From 67bdb4f236d67e8c183952c87f55f8dc0cd0c20f Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 19 Dec 2022 18:52:46 +0100 Subject: [PATCH] add group --- dist/setup/index.js | 2 ++ src/setup-python.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dist/setup/index.js b/dist/setup/index.js index 75b57a00..4ba41efc 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -66910,6 +66910,7 @@ function run() { let pythonVersion = ''; const arch = core.getInput('architecture') || os.arch(); const updateEnvironment = core.getBooleanInput('update-environment'); + core.startGroup('Installed versions'); for (const version of versions) { if (isPyPyVersion(version)) { const installed = yield finderPyPy.findPyPyVersion(version, arch, updateEnvironment, checkLatest); @@ -66922,6 +66923,7 @@ function run() { core.info(`Successfully set up ${installed.impl} (${pythonVersion})`); } } + core.endGroup(); const cache = core.getInput('cache'); if (cache && utils_1.isCacheFeatureAvailable()) { yield cacheDependencies(cache, pythonVersion); diff --git a/src/setup-python.ts b/src/setup-python.ts index e9b22d0b..0089b401 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -82,6 +82,7 @@ async function run() { let pythonVersion = ''; const arch: string = core.getInput('architecture') || os.arch(); const updateEnvironment = core.getBooleanInput('update-environment'); + core.startGroup('Installed versions'); for (const version of versions) { if (isPyPyVersion(version)) { const installed = await finderPyPy.findPyPyVersion( @@ -105,6 +106,7 @@ async function run() { core.info(`Successfully set up ${installed.impl} (${pythonVersion})`); } } + core.endGroup(); const cache = core.getInput('cache'); if (cache && isCacheFeatureAvailable()) { await cacheDependencies(cache, pythonVersion);