Merge pull request #55 from thgO-O/pt-br-translation-review #2
This file contains hidden or 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: Generate Manifest | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'Translator/translations/**/*.json' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| manifest-generation: | |
| runs-on: ubuntu-latest | |
| env: | |
| CI: true | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET 10 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Build solution | |
| run: dotnet build --configuration Release | |
| - name: Generate manifest.json | |
| run: dotnet run -- generate-manifest | |
| working-directory: Translator | |
| - name: Commit | |
| uses: EndBug/add-and-commit@v10 | |
| with: | |
| default_author: github_actor | |
| add: ./manifest.json # if the working directory is the repo root dir | |
| message: "Update manifest.json" | |
| commit: "" | |
| push: true |