@@ -70208,18 +70208,21 @@ function run() {
7020870208 const allowPreReleases = core.getBooleanInput('allow-prereleases');
7020970209 if (versions.length) {
7021070210 let pythonVersion = '';
70211+ const pythonVersions = [];
7021170212 const arch = core.getInput('architecture') || os.arch();
7021270213 const updateEnvironment = core.getBooleanInput('update-environment');
7021370214 core.startGroup('Installed versions');
7021470215 for (const version of versions) {
7021570216 if (isPyPyVersion(version)) {
7021670217 const installed = yield finderPyPy.findPyPyVersion(version, arch, updateEnvironment, checkLatest, allowPreReleases);
7021770218 pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`;
70219+ pythonVersions.push(`${installed.resolvedPythonVersion}-pypy${installed.resolvedPyPyVersion}`);
7021870220 core.info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`);
7021970221 }
7022070222 else if (isGraalPyVersion(version)) {
7022170223 const installed = yield finderGraalPy.findGraalPyVersion(version, arch, updateEnvironment, checkLatest, allowPreReleases);
7022270224 pythonVersion = `${installed}`;
70225+ pythonVersions.push(`graalpy${installed}`);
7022370226 core.info(`Successfully set up GraalPy ${installed}`);
7022470227 }
7022570228 else {
@@ -70228,9 +70231,11 @@ function run() {
7022870231 }
7022970232 const installed = yield finder.useCpythonVersion(version, arch, updateEnvironment, checkLatest, allowPreReleases);
7023070233 pythonVersion = installed.version;
70234+ pythonVersions.push(installed.version);
7023170235 core.info(`Successfully set up ${installed.impl} (${pythonVersion})`);
7023270236 }
7023370237 }
70238+ core.setOutput('python-versions', pythonVersions.sort().join(','));
7023470239 core.endGroup();
7023570240 const cache = core.getInput('cache');
7023670241 if (cache && utils_1.isCacheFeatureAvailable()) {
0 commit comments