Skip to content

Commit 4e3bf66

Browse files
committed
README updates (add links)
Remove (incorrect) references to Invoke.
1 parent 3a1e718 commit 4e3bf66

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ This action recognizes the following typical CI related shell commands:
5454
In order to make these commands available in the action output, you'll need to define them in `pyproject.toml` using a section appropriate for the particular tools you are using in the project. You can specify all, some, or none, depending on what you need available.
5555

5656
This action will pull the command from the first entry it finds in any of the following sections in `pyproject.toml`:
57-
- `[tool.tasks]`
58-
- `[tool.pdm.scripts]`
59-
- `[tool.poe.tasks]`
60-
- `[tool.invoke.tasks]`
57+
- `[tool.tasks]`: Use this field if you aren't already using a separate task runner tool, otherwise use the field that corresponds to that tool.
58+
- `[tool.pdm.scripts]`: [PDM](https://pdm-project.org/latest/usage/scripts/)
59+
- `[tool.poe.tasks]`: [poethepoet](https://github.com/nat-n/poethepoet)
6160

6261

6362
### Where is the support for `[tool.poetry.scripts]`?

find-python-projects.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,11 @@ const PYTHON_VERSION_PATHS = [
105105
const TEST_COMMAND_PATHS = [
106106
'tool.tasks.test',
107107
'tool.pdm.scripts.test',
108-
'tool.poe.tasks.test',
109-
'tool.invoke.tasks.test'
108+
'tool.poe.tasks.test'
110109
];
111110

112111
const PACKAGE_COMMAND_PATHS = [
113112
'tool.tasks.package',
114113
'tool.pdm.scripts.package',
115-
'tool.poe.tasks.package',
116-
'tool.invoke.tasks.package'
114+
'tool.poe.tasks.package'
117115
];

0 commit comments

Comments
 (0)