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
+10
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ This github action installs [`mecha`](https://github.com/mcbeet/mecha) in an iso
29
29
| `version` | defaults to `latest` | The version of mecha to install |
30
30
| `source` | required | The list of data packs, functions files or folders to validate |
31
31
| `minecraft` | defaults to `1.17` | The version of minecraft to use for checking commands |
32
+
| `stats` | defaults to `false` | Whether to output statistics |
32
33
| `log` | defaults to `WARNING` | The output log level |
33
34
34
35
## Examples
@@ -66,6 +67,15 @@ Check a data pack at the root of the repository with an explicit minecraft versi
66
67
minecraft: "1.18"
67
68
```
68
69
70
+
Check a data pack at the root of the repository and output statistics.
71
+
72
+
```yml
73
+
- uses: mcbeet/check-commands@v1
74
+
with:
75
+
source: .
76
+
stats: "true"
77
+
```
78
+
69
79
## Contributing
70
80
71
81
Contributions are welcome. Make sure to first open an issue discussing the problem or the new feature before creating a pull request. If you find a bug please try to share a link to the problematic action run.
0 commit comments