Skip to content

Commit 07d0119

Browse files
committed
setup-poetry: Document new input and output
1 parent 5c48005 commit 07d0119

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
- [Usage](#usage-1)
1818
- [Inputs](#inputs-1)
1919
- [`poetry-version`](#poetry-version)
20+
- [`use-cache`](#use-cache)
21+
- [Outputs](#outputs-1)
22+
- [`cache-hit`](#cache-hit)
2023
- [`ni/python-actions/check-project-version`](#nipython-actionscheck-project-version)
2124
- [Usage](#usage-2)
2225
- [Inputs](#inputs-2)
@@ -125,6 +128,17 @@ steps:
125128
- run: poetry install -v
126129
```
127130

131+
#### `use-cache`
132+
133+
If you run into caching problems, you can disable caching by specifying `use-cache: false`.
134+
135+
### Outputs
136+
137+
#### `cache-hit`
138+
139+
You can use `cache-hit` to check whether Poetry was loaded from cache. This is mainly intended for
140+
testing the action.
141+
128142
## `ni/python-actions/check-project-version`
129143

130144
The `check-project-version` action uses Poetry to get the version of a Python project and checks

0 commit comments

Comments
 (0)