output installed version number after setup

This commit is contained in:
Robin Daumann 2020-01-08 10:02:48 +01:00
parent 3503180221
commit 9d6ce31d1f
3 changed files with 2764 additions and 4029 deletions

View file

@ -7,7 +7,8 @@ async function run() {
let version = core.getInput('python-version');
if (version) {
const arch: string = core.getInput('architecture', {required: true});
await finder.findPythonVersion(version, arch);
let installed = await finder.findPythonVersion(version, arch);
console.log(`Successfully setup ${installed}.`);
}
const matchersPath = path.join(__dirname, '..', '.github');
console.log(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);