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
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ This action aims to help you eliminate (or at least reduce) the amount of custom
12
12
-**root-dir**: Directory root for where to begin recursively searching for projects.
13
13
Python projects contained in this directory or lower will be discovered. Defaults to your repository's root directory.
14
14
15
+
-**additional-export-paths**: Additional TOML keys to export as part of the projects object. Specify them as json path strings, separated by commas. For example, "tool.foo.bar,baz.qux".
15
16
16
17
## Outputs
17
18
-**paths**: JSON array of found project path strings
@@ -39,6 +40,8 @@ These are the fields for `project` objects in the output:
39
40
-**commands**: Object with keys for each discovered command and the shell command as the value.
40
41
This is dynamically constructed from the `pyproject.toml` content.
41
42
43
+
-**exports**: Object with keys specified by the `additional-export-paths` input, and the structured TOML data (parsed as JSON) as the values.
44
+
42
45
43
46
## Project Commands
44
47
In the absence of Python standards for expressing internal project CI/CD/Dev operations, this action tries to unify the various known ways in the wild.
Copy file name to clipboardExpand all lines: action.yml
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,11 @@ inputs:
9
9
root-dir:
10
10
description: Directory root for where to begin recursively searching for projects. Python projects contained in this directory or lower will be discovered.
11
11
required: false
12
-
default: '.'
12
+
default: "."
13
+
additional-export-paths:
14
+
description: Additional TOML keys to export as part of the projects object. Specify them as json path strings, separated by commas. For example, "tool.upside.foo,bar.baz".
15
+
required: false
16
+
default: ""
13
17
14
18
outputs:
15
19
paths:
@@ -25,5 +29,5 @@ outputs:
25
29
description: JSON array of all found projects (`project` object) that implement a `package` command
0 commit comments