gha-utilities/Bulk CWebP
GitHub Action to wrap CWebP features
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source_directory | Directory passed to `find` for finding files | yes | — |
| find_regex | Regular Expression passed to `find` to limit found files, example "*.png" | yes | — |
| find_regextype | Regular Expression type passed to `find` available values are; "emacs", "posix-awk", "posix-basic", "posix-egrep", or "posix-extended" | yes | emacs |
| exec_cwebp | Executable name, with optional path, to CWebP executable | yes | cwebp |
| cwebp_opts | Additional parameters to pass to `cwebp` for each found file and destination extension | no | — |
| destination_name_prefix | Optional prefix for output file names | no | — |
| destination_name_suffix | Optional suffix for output file names | no | — |
| destination_clobber | Enable clobbering preexisting files by setting to `1` | no | 0 |
| verbose | Enable `printf` logging by setting non-zero integer value | no | 0 |
Outputs
| name | description |
|---|---|
| found | New-line separated list of file paths found with `find` and provided inputs |
| wrote | New-line separated list of file paths written by `cwebp` with provided inputs |
| failed | New-line separated list of file paths `cwebp` failed to write |