Skip to content

Commit a5a9822

Browse files
committed
Refactor GitHub Actions workflow to build individual projects for XML documentation
Updated the build step in the workflow to compile each project separately for XML documentation generation, enhancing clarity and maintainability of the build process. Signed-off-by: sharpninja <[email protected]>
1 parent 35ce33b commit a5a9822

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/static.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,15 @@ jobs:
5050
- name: Restore dependencies
5151
run: dotnet restore FunWasHad.sln
5252

53-
- name: Build solution (generate XML documentation)
54-
run: dotnet build FunWasHad.sln --configuration Release --no-restore -p:GenerateDocumentationFile=true -p:EnableWindowsTargeting=true
53+
- name: Build projects for documentation (generate XML documentation)
54+
run: |
55+
dotnet build FWH.Location.Api/FWH.Location.Api.csproj --configuration Release --no-restore -p:GenerateDocumentationFile=true
56+
dotnet build FWH.MarketingApi/FWH.MarketingApi.csproj --configuration Release --no-restore -p:GenerateDocumentationFile=true
57+
dotnet build FWH.Common.Location/FWH.Common.Location.csproj --configuration Release --no-restore -p:GenerateDocumentationFile=true
58+
dotnet build FWH.Common.Chat/FWH.Common.Chat.csproj --configuration Release --no-restore -p:GenerateDocumentationFile=true
59+
dotnet build FWH.Common.Workflow/FWH.Common.Workflow.csproj --configuration Release --no-restore -p:GenerateDocumentationFile=true
60+
dotnet build FWH.Common.Imaging/FWH.Common.Imaging.csproj --configuration Release --no-restore -p:GenerateDocumentationFile=true
61+
dotnet build FWH.Mobile.Data/FWH.Mobile.Data.csproj --configuration Release --no-restore -p:GenerateDocumentationFile=true
5562
5663
- name: Install DocFX
5764
run: dotnet tool install -g docfx

0 commit comments

Comments
 (0)