fix: simplify CI restore to avoid WASM runtime conflicts
TaxBaik CI/CD / build-and-deploy (push) Failing after 1m17s
TaxBaik CI/CD / build-and-deploy (push) Failing after 1m17s
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 <noreply@anthropic.com>
This commit is contained in:
@@ -20,19 +20,7 @@ jobs:
|
|||||||
dotnet-version: '10.0'
|
dotnet-version: '10.0'
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: |
|
run: dotnet restore src/TaxBaik.sln
|
||||||
# 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
|
|
||||||
|
|
||||||
- name: Build solution
|
- name: Build solution
|
||||||
run: dotnet build src/TaxBaik.sln -c Release --no-restore -p:ContinuousIntegrationBuild=true
|
run: dotnet build src/TaxBaik.sln -c Release --no-restore -p:ContinuousIntegrationBuild=true
|
||||||
|
|||||||
Reference in New Issue
Block a user