Added DS, 3DS, (S)NES, N64, GameCube, and Switch button profiles #332
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 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.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 "[email protected]" | |
git config --local user.name "GitHub Action" | |
git diff-index --quiet HEAD || { echo 'Please update the json schemas by running `dotnet run -- regenjsonschemas`'; exit 1; } |