@@ -70,7 +70,6 @@ blocks:
7070 - wget https://dot.net/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1
7171 - powershell -ExecutionPolicy ByPass -File dotnet-install.ps1 -Version 6.0.403 -InstallDir C:\dotnet
7272 - $Env:Path += ";C:\dotnet"
73- - dotnet tool update -g docfx
7473 - dotnet restore
7574 - dotnet build Confluent.Kafka.sln -c ${Env:CONFIGURATION}
7675 - dotnet pack src/Confluent.Kafka/Confluent.Kafka.csproj -c ${Env:CONFIGURATION} --version-suffix ci-${Env:SEMAPHORE_JOB_ID} --output artifacts
@@ -84,9 +83,6 @@ blocks:
8483 - dotnet pack src/Confluent.SchemaRegistry.Serdes.Avro/Confluent.SchemaRegistry.Serdes.Avro.csproj -c ${Env:CONFIGURATION} --version-suffix ci-${Env:SEMAPHORE_JOB_ID} --output artifacts
8584 - dotnet pack src/Confluent.SchemaRegistry.Serdes.Protobuf/Confluent.SchemaRegistry.Serdes.Protobuf.csproj -c ${Env:CONFIGURATION} --version-suffix ci-${Env:SEMAPHORE_JOB_ID} --output artifacts
8685 - dotnet pack src/Confluent.SchemaRegistry.Serdes.Json/Confluent.SchemaRegistry.Serdes.Json.csproj -c ${Env:CONFIGURATION} --version-suffix ci-${Env:SEMAPHORE_JOB_ID} --output artifacts
87- - docfx doc/docfx.json
88- - tar.exe -cvzf docs-${Env:SEMAPHORE_JOB_ID}.zip doc/_site/*
89- - move docs-${Env:SEMAPHORE_JOB_ID}.zip artifacts
9086 - artifact push workflow artifacts
9187 - name : ' Windows Artifacts on tagged commits'
9288 run :
@@ -103,7 +99,6 @@ blocks:
10399 - wget https://dot.net/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1
104100 - powershell -ExecutionPolicy ByPass -File dotnet-install.ps1 -Version 6.0.403 -InstallDir C:\dotnet
105101 - $Env:Path += ";C:\dotnet"
106- - dotnet tool update -g docfx
107102 - dotnet restore
108103 - dotnet build Confluent.Kafka.sln -c ${Env:CONFIGURATION}
109104 - dotnet pack src/Confluent.Kafka/Confluent.Kafka.csproj -c ${Env:CONFIGURATION} --output artifacts
@@ -117,9 +112,6 @@ blocks:
117112 - dotnet pack src/Confluent.SchemaRegistry.Serdes.Avro/Confluent.SchemaRegistry.Serdes.Avro.csproj -c ${Env:CONFIGURATION} --output artifacts
118113 - dotnet pack src/Confluent.SchemaRegistry.Serdes.Protobuf/Confluent.SchemaRegistry.Serdes.Protobuf.csproj -c ${Env:CONFIGURATION} --output artifacts
119114 - dotnet pack src/Confluent.SchemaRegistry.Serdes.Json/Confluent.SchemaRegistry.Serdes.Json.csproj -c ${Env:CONFIGURATION} --output artifacts
120- - docfx doc/docfx.json
121- - tar.exe -cvzf docs-${Env:SEMAPHORE_JOB_ID}.zip doc/_site/*
122- - move docs-${Env:SEMAPHORE_JOB_ID}.zip artifacts
123115 - artifact push workflow artifacts
124116 - name : ' Integration tests'
125117 dependencies : [ ]
@@ -131,6 +123,10 @@ blocks:
131123 commands :
132124 - ' [[ -z $DOCKERHUB_APIKEY ]] || docker login --username $DOCKERHUB_USER --password $DOCKERHUB_APIKEY'
133125 jobs :
126+ - name : ' Build documentation'
127+ commands :
128+ - dotnet tool update -g docfx
129+ - docfx doc/docfx.json
134130 - name : ' Build and test with "classic" protocol'
135131 commands :
136132 - cd test/docker && docker-compose up -d && sleep 30 && cd ../..
0 commit comments