Fix configFilePath default

This commit is contained in:
Chris Davis
2020-11-22 22:32:03 +00:00
committed by Artur
parent a33003e772
commit b925f8e478
2 changed files with 4 additions and 3 deletions

View File

@@ -30,9 +30,9 @@ useConfigFile:
required: false
default: false
configFilePath:
description: Optional path to config file (defaults to yml).
description: Optional path to config file (defaults to GitVersion.yml).
required: false
default: ''
default: 'GitVersion.yml'
updateAssemblyInfo:
description: Whether to update versions in the AssemblyInfo files.
required: false
@@ -116,6 +116,7 @@ steps:
uses: gittools/actions/gitversion/execute@v0.9.6
with:
useConfigFile: true
configFilePath: 'GitVersion.yml'
```
Example contents of **GitVersion.yml**:

View File

@@ -19,7 +19,7 @@ inputs:
configFilePath:
description: Optional path to config file (defaults to GitVersion.yml)
required: false
default: ''
default: 'GitVersion.yml'
updateAssemblyInfo:
description: Whether to update versions in the AssemblyInfo files
required: false