We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e32eb95 commit 54b251bCopy full SHA for 54b251b
.github/workflows/release.yml
@@ -27,8 +27,16 @@ jobs:
27
Import-Module ./resources/JsonValidator.psm1
28
$schemaPath = "./config/schema.json"
29
$configPath = "./config/conf.example.json"
30
+
31
+ Write-Host "Testing config file: $configPath"
32
+ Write-Host "Against schema file: $schemaPath"
33
34
$result = Test-JsonValid -JsonPath "$configPath" -SchemaPath "$schemaPath"
- if ($result -ne $true) {
35
36
+ Write-Host 'Validation result:'
37
+ Write-Host $result
38
39
+ if ($result.IsValid -ne $true) {
40
Write-Host "Config file does not pass schema validation: $($result.Message)"
41
exit 1
42
}
0 commit comments