mirror of
https://github.com/actions/setup-python.git
synced 2025-07-18 09:58:20 +02:00
disable-auto-overwriting
This commit is contained in:
parent
532b046aaf
commit
bf549696cd
5 changed files with 105 additions and 71 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
# Advanced Usage
|
||||
- [Using the python-version input](advanced-usage.md#using-the-python-version-input)
|
||||
- [Specifying a Python version](advanced-usage.md#specifying-a-python-version)
|
||||
|
@ -413,6 +414,7 @@ steps:
|
|||
# Or pip install -e '.[test]' to install test dependencies
|
||||
```
|
||||
Note: cache-dependency-path supports files located outside the workspace root by copying them into the workspace to enable proper caching.
|
||||
A new input overwrite has been introduced to prevent accidental overwriting of existing files in the workspace when a composite action’s cache-dependency-path refers to common filenames like requirements.txt. By default, if a file with the same path already exists in the workspace, it will not be copied from the action unless overwrite: true is explicitly set.
|
||||
# Outputs and environment variables
|
||||
|
||||
## Outputs
|
||||
|
@ -662,4 +664,4 @@ The version of Pip should be specified in the format `major`, `major.minor`, or
|
|||
```
|
||||
> The `pip-version` input is supported only with standard Python versions. It is not available when using PyPy or GraalPy.
|
||||
|
||||
> Using a specific or outdated version of pip may result in compatibility or security issues and can cause job failures. For best practices and guidance, refer to the official [pip documentation](https://pip.pypa.io/en/stable/).
|
||||
> Using a specific or outdated version of pip may result in compatibility or security issues and can cause job failures. For best practices and guidance, refer to the official [pip documentation](https://pip.pypa.io/en/stable/).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue