ci: build web host before web publish
TaxBaik CI/CD / build-and-deploy (push) Failing after 3m42s

This commit is contained in:
2026-07-04 19:12:58 +09:00
parent 833b85ef0d
commit f5478dd388
+3 -1
View File
@@ -37,6 +37,9 @@ jobs:
# Web.Client needs a Release static-web-assets manifest for Web publish. # Web.Client needs a Release static-web-assets manifest for Web publish.
# Build it explicitly so publish can reuse the prepared outputs. # Build it explicitly so publish can reuse the prepared outputs.
dotnet build src/TaxBaik.Web.Client/TaxBaik.Web.Client.csproj -c Release --no-restore -p:ContinuousIntegrationBuild=true dotnet build src/TaxBaik.Web.Client/TaxBaik.Web.Client.csproj -c Release --no-restore -p:ContinuousIntegrationBuild=true
# Build the Web host in Release as well so publish has the same inputs
# the server uses in production.
dotnet build src/TaxBaik.Web/TaxBaik.Web.csproj -c Release --no-restore -p:ContinuousIntegrationBuild=true
echo "--- Web.Client Release artifacts ---" echo "--- Web.Client Release artifacts ---"
ls -la src/TaxBaik.Web.Client/bin/Release/net10.0 || true ls -la src/TaxBaik.Web.Client/bin/Release/net10.0 || true
ls -la src/TaxBaik.Web.Client/obj/Release/net10.0 || true ls -la src/TaxBaik.Web.Client/obj/Release/net10.0 || true
@@ -44,7 +47,6 @@ jobs:
-c Release \ -c Release \
-o ./publish \ -o ./publish \
--no-restore \ --no-restore \
--no-build \
-p:SelfContained=false \ -p:SelfContained=false \
-p:PublishReadyToRun=false \ -p:PublishReadyToRun=false \
-p:PerformanceSummary=true \ -p:PerformanceSummary=true \