You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ This action wraps around [actions/setup-python](https://github.com/actions/setup
22
22
-[Inputs](#inputs)
23
23
-[allow-build input](#allow-build-input)
24
24
-[Outputs](#outputs)
25
+
-[FAQ](#faq)
25
26
-[Contributing](#contributing)
26
27
27
28
## Basic usage
@@ -156,6 +157,14 @@ This action will emit the following outputs:
156
157
|cache-hit|A boolean value to indicate a cache entry was found (for pip, pipenv and poetry).|
157
158
|python-path|The absolute path to the Python or PyPy executable.|
158
159
160
+
## FAQ
161
+
162
+
#### No file in (...) matched to [**/requirements.txt or **/pyproject.toml], make sure you have checked out the target repository
163
+
164
+
This is a byproduct of [actions/setup-python](https://github.com/actions/setup-python).
165
+
If you wish to cache your pip dependencies, you need to have anywhere in your repository a `requirements.txt` or a `pyproject.toml` file.
166
+
The solution in this case is either creating a blank `requirements.txt` file or stop caching pip (in order to do so simply remove `cache: pip` from your `.yml` file).
167
+
159
168
## Contributing
160
169
161
170
This action is pretty much only a wrapper for a javascript action.
0 commit comments