mirror of
https://github.com/actions/setup-python.git
synced 2025-06-30 22:53:49 +00:00
feature: add update-environment
input (#411)
This option allows to specify if the action shall update environment variables (default) or not. This allows to use the setup-python action in a composite action without side effect (except downloading/installing python if version is missing).
This commit is contained in:
parent
ffcd00020c
commit
00a5248c77
16 changed files with 2083 additions and 1552 deletions
|
@ -17,6 +17,9 @@ inputs:
|
|||
default: ${{ github.token }}
|
||||
cache-dependency-path:
|
||||
description: 'Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies.'
|
||||
update-environment:
|
||||
description: 'Set this option if you want the action to update environment variables.'
|
||||
default: true
|
||||
outputs:
|
||||
python-version:
|
||||
description: "The installed python version. Useful when given a version range as input."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue