mirror of
https://github.com/actions/setup-python.git
synced 2025-07-18 17:58:19 +02:00
output installed version number after setup
This commit is contained in:
parent
3503180221
commit
9d6ce31d1f
3 changed files with 2764 additions and 4029 deletions
|
@ -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')}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue