mirror of
https://github.com/actions/setup-python.git
synced 2024-11-25 02:16:54 +01:00
f8fb48e9f7
* output installed version number after setup * set output for the installed version
20 lines
624 B
YAML
20 lines
624 B
YAML
---
|
|
name: 'Setup Python'
|
|
description: 'Set up a specific version of Python and add the command-line tools to the PATH.'
|
|
author: 'GitHub'
|
|
inputs:
|
|
python-version:
|
|
description: "Version range or exact version of a Python version to use, using SemVer's version range syntax."
|
|
default: '3.x'
|
|
architecture:
|
|
description: 'The target architecture (x86, x64) of the Python interpreter.'
|
|
default: 'x64'
|
|
outputs:
|
|
python-version:
|
|
description: "The installed python version. Useful when given a version range as input."
|
|
runs:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|
|
branding:
|
|
icon: 'code'
|
|
color: 'yellow'
|