From 0f40eba363ea562bbb597d8a3c8e2fc017341f9f Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 4 Jul 2026 04:54:21 +0900 Subject: [PATCH] fix: simplify CI restore to avoid WASM runtime conflicts Problem: - Complex per-project restore with -r linux-x64 caused WASM SDK to request Mono.linux-x64 - .NET 10.0.9 Mono runtime not available on NuGet - WASM projects don't need runtime identifier (browser execution) Solution: - Revert to simple 'dotnet restore src/TaxBaik.sln' - Let SDK handle runtime selection automatically - WASM SDK will ignore runtime identifiers for browser targets This fixes NU1102 error while maintaining correct dependency resolution. Co-Authored-By: Claude Haiku 4.5 --- .gitea/workflows/deploy.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 0459fb1..7fb261e 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -20,19 +20,7 @@ jobs: dotnet-version: '10.0' - name: Restore dependencies - run: | - # WASM 프로젝트는 브라우저에서 실행되므로 런타임 지정 불필요 - # Host project (TaxBaik.Web)는 Linux에서 실행되므로 복원 - dotnet restore src/TaxBaik.Web/TaxBaik.Web.csproj -r linux-x64 - dotnet restore src/TaxBaik.Proxy/TaxBaik.Proxy.csproj -r linux-x64 - # WASM 클라이언트 프로젝트는 런타임 지정 없이 복원 - dotnet restore src/TaxBaik.Web.Client/TaxBaik.Web.Client.csproj - dotnet restore src/TaxBaik.Portal.Client/TaxBaik.Portal.Client.csproj - # 의존성 복원 - dotnet restore src/TaxBaik.Application/TaxBaik.Application.csproj - dotnet restore src/TaxBaik.Infrastructure/TaxBaik.Infrastructure.csproj - dotnet restore src/TaxBaik.Domain/TaxBaik.Domain.csproj - dotnet restore src/TaxBaik.Application.Tests/TaxBaik.Application.Tests.csproj + run: dotnet restore src/TaxBaik.sln - name: Build solution run: dotnet build src/TaxBaik.sln -c Release --no-restore -p:ContinuousIntegrationBuild=true