From ea35ddb0dc35222754e55fc70a2ac045e5d6b55b Mon Sep 17 00:00:00 2001 From: ChiaraBm Date: Thu, 15 Jan 2026 11:45:06 +0100 Subject: [PATCH] Added build step for frontend in NuGet publishing workflow to ensure class list files generate properly --- .gitea/workflows/publish-nuget.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/publish-nuget.yml b/.gitea/workflows/publish-nuget.yml index 9577099e..82fdb223 100644 --- a/.gitea/workflows/publish-nuget.yml +++ b/.gitea/workflows/publish-nuget.yml @@ -31,11 +31,15 @@ jobs: - name: Remove artifacts run: rm -rf ./artifacts - # Publish frontend + # Publish frontend + # We need to build it first so the class list files generate + - name: Build project + run: dotnet build Moonlight.Frontend --configuration Debug + - name: Build tailwind styles and extract class list working-directory: Hosts/Moonlight.Frontend.Host/Styles run: npm install && npm run build - + - name: Build project run: dotnet build Moonlight.Frontend --configuration Debug