Repository navigation
Generate changelog / Merge the generator into the builder (#3256) Generation and build always ran back to back, and BuildResult already derived from GenerateResult, so the split bought a second interface, a second base class and a second result type to keep in step. IBuilder now owns the whole stage: bool GetSupportsConcurrency(BuildPartition) ValueTask<BuildResult> BuildAsync(BuildPartition, ILogger, string, CancellationToken) GeneratorBase becomes BuilderBase, which generates and then builds... #615
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-changelog | |
| run-name: Generate changelog / ${{ github.event.head_commit.message }} | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| permissions: write-all | |
| jobs: | |
| generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| ref: master | |
| - name: Checkout changelog | |
| uses: actions/checkout@v7 | |
| with: | |
| ref: docs-changelog | |
| path: docs/_changelog | |
| - name: Fetch changelog | |
| run: ./build.cmd docs-fetch --depth 1 --preview | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Push changelog | |
| uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0 | |
| with: | |
| branch: docs-changelog | |
| folder: docs/_changelog | |
| git-config-name: Andrey Akinshin | |
| git-config-email: andrey.akinshin@gmail.com | |
| clean: true |