mirror of
https://github.com/actions/setup-python
synced 2024-11-30 21:22:28 +08:00
18 lines
792 B
YAML
18 lines
792 B
YAML
name: 'Setup Python environment'
|
|
description: 'Setup a Python environment and add it to the PATH, additionally providing proxy support'
|
|
author: 'GitHub'
|
|
inputs:
|
|
python-version:
|
|
description: 'Version range or exact version of a Python version to use, using semvers version range syntax.'
|
|
default: '3.x'
|
|
architecture:
|
|
description: 'The target architecture (x86, x64) of the Python interpreter.'
|
|
default: 'x64'
|
|
# Deprecated option, do not use. Will not be supported after October 1, 2019
|
|
version:
|
|
description: 'Deprecated. Use python-version instead. Will not be supported after October 1, 2019'
|
|
deprecationMessage: 'The version property will not be supported after October 1, 2019. Use python-version instead'
|
|
runs:
|
|
using: 'node12'
|
|
main: 'lib/setup-python.js'
|