mirror of
https://github.com/actions/setup-python
synced 2025-04-05 06:49:43 +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:
@ -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."
|
||||
|
Reference in New Issue
Block a user