Skip to content

input parser: fix re-use of capture names, some tweaks #361

input parser: fix re-use of capture names, some tweaks

input parser: fix re-use of capture names, some tweaks #361

Workflow file for this run

name: json-schema
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- uses: actions/checkout@v2
- name: Regenerate core config json schemas
run: |
cd TPP.Core
dotnet run -- regenjsonschemas
git add config.schema.json
git add config.runmode.schema.json
git add config.matchmode.schema.json
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git diff-index --quiet HEAD || { echo 'The configuration schema has changed. Please update the json schema files by running `dotnet run -- regenjsonschemas` locally and committing the output.'; exit 1; }