Bump TwitchLib.Client from 4.0.0-preview-d4d9679aaa93409ab2b31471d17673bb5e06504c to 4.0.0-preview-fd131763416cb9f1a31705ca609566d7e7e7fac8 #364
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } |