disable-auto-overwriting

This commit is contained in:
Aparna Jyothi 2025-07-11 13:33:16 +05:30
parent 532b046aaf
commit bf549696cd
5 changed files with 105 additions and 71 deletions

View file

@ -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 actions 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/).