Skip to content

Commit 3b284d5

Browse files
committed
setup-poetry: Document new input and output
1 parent 95b4b2a commit 3b284d5

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)
@@ -124,6 +127,17 @@ steps:
124127
- run: poetry install -v
125128
```
126129

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

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

0 commit comments

Comments
 (0)