feat: Create topic with additional configuration if present #620
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: Test deployment | |
on: | |
pull_request: | |
jobs: | |
test-deploy: | |
name: Test deployment | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.x' | |
- run: dotnet tool install --global gsferreira.XmlDocMarkdown.Docusaurus --version 0.0.1-beta2 # using this version while the Pull Request isn't accepted here: https://github.com/ejball/XmlDocMarkdown/pull/126 | |
shell: bash | |
- name: .NET Publish | |
run: dotnet publish KafkaFlow.sln -c Release -o ./drop | |
- run: dotnet tool list --global | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.dll website/docs/reference/KafkaFlow --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.Admin.dll website/docs/reference/KafkaFlow.Admin --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.Extensions.Hosting.dll website/docs/reference/KafkaFlow.Extensions.Hosting --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.LogHandler.Console.dll website/docs/reference/KafkaFlow.LogHandler.Console --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.LogHandler.Microsoft.dll website/docs/reference/KafkaFlow.LogHandler.Microsoft --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.Microsoft.DependencyInjection.dll website/docs/reference/KafkaFlow.Microsoft.DependencyInjection --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.SchemaRegistry.dll website/docs/reference/KafkaFlow.SchemaRegistry --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.Serializer.JsonCore.dll website/docs/reference/KafkaFlow.Serializer.JsonCore --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.Serializer.NewtonsoftJson.dll website/docs/reference/KafkaFlow.Serializer.NewtonsoftJson --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.Serializer.ProtobufNet.dll website/docs/reference/KafkaFlow.Serializer.ProtobufNet --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.Serializer.SchemaRegistry.ConfluentAvro.dll website/docs/reference/KafkaFlow.Serializer.SchemaRegistry.ConfluentAvro --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.Serializer.SchemaRegistry.ConfluentJson.dll website/docs/reference/KafkaFlow.Serializer.SchemaRegistry.ConfluentJson --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.Serializer.SchemaRegistry.ConfluentProtobuf.dll website/docs/reference/KafkaFlow.Serializer.SchemaRegistry.ConfluentProtobuf --type-folders | |
shell: bash | |
- run: xmldocmd-docusaurus ./drop/KafkaFlow.Unity.dll website/docs/reference/KafkaFlow.Unity --type-folders | |
shell: bash | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
cache-dependency-path: website/yarn.lock | |
- name: Install dependencies | |
working-directory: ./website | |
run: yarn install --frozen-lockfile | |
- name: Test build website | |
working-directory: ./website | |
run: yarn build |