actions-marketplace-validations/PSMinifier
A Miniature Minifier For PowerShell
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jul 9, 2022
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/startautomating_psminifier@6d9f510d8171d4985fbc6f4998960404e0a1741e # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| Include | One or more wildcards of files to include. If not provided, all .ps1 in a workspace will be included. | no | — |
| Exclude | One or more wildcards of files to exclude. | no | "*.*.ps1" |
| GZip | If set, the minified content will be encoded as GZip, further reducing it's size. | no | — |
| NoBlock | If set, zipped minified content will be encoded without blocks, making it a very long single line. This parameter is only valid with -GZip. | no | — |
| CommitMessage | If provided, will commit changes made to the workspace with this commit message. | no | — |
| UserEmail | The user email associated with a git commit. | no | — |
| UserName | The user name associated with a git commit. | no | — |
Outputs
| name | description |
|---|---|
| OriginalSize | The Original Size of all files |
| MinifiedSize | The Total Size of all minified files |
| MinifiedPercent | The Percentage Saved by minifying |