mirror of
https://github.com/actions/setup-python.git
synced 2025-07-19 22:48:22 +02:00
Add overwite input to avoid auto overwriting
This commit is contained in:
parent
532b046aaf
commit
8626f8c1ae
4 changed files with 98 additions and 72 deletions
|
@ -20,6 +20,10 @@ inputs:
|
|||
default: ${{ github.server_url == 'https://github.com' && 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."
|
||||
overwrite:
|
||||
description: Whether to overwrite existing file in workspace
|
||||
required: false
|
||||
default: 'false'
|
||||
update-environment:
|
||||
description: "Set this option if you want the action to update environment variables."
|
||||
default: true
|
||||
|
@ -29,8 +33,6 @@ inputs:
|
|||
freethreaded:
|
||||
description: "When 'true', use the freethreaded version of Python."
|
||||
default: false
|
||||
pip-version:
|
||||
description: "Used to specify the version of pip to install with the Python. Supported format: major[.minor][.patch]."
|
||||
outputs:
|
||||
python-version:
|
||||
description: "The installed Python or PyPy version. Useful when given a version range as input."
|
||||
|
@ -45,4 +47,4 @@ runs:
|
|||
post-if: success()
|
||||
branding:
|
||||
icon: 'code'
|
||||
color: 'yellow'
|
||||
color: 'yellow'
|
Loading…
Add table
Add a link
Reference in a new issue