Initial implementation of logDiffIfDirty

This commit is contained in:
dogboydog
2020-07-08 16:44:54 -04:00
committed by Webber Takken
parent 96eeaf940a
commit cb913cd286
6 changed files with 70 additions and 2 deletions

View File

@@ -359,6 +359,24 @@ Note that it is generally bad practice to modify your branch
in a CI Pipeline. However there are exceptions where this might
be needed. (use with care).
_**required:** `false`_
_**default:** false_
#### logDiffIfDirty
Print a summary of changed files if the branch is determined to be dirty.
This can be useful in debugging the reason your project files changed unexpectedly.
This option works independently of `allowDirtyBuild`.
```yaml
- uses: webbertakken/unity-builder@<version>
with:
logDiffIfDirty: true
```
_**required:** `false`_
_**default:** false_
#### customParameters
Custom parameters to configure the build.