From 2c62ce8a6ec7de7306f882815b2f6e9803ff2050 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 4 Jul 2026 04:57:07 +0900 Subject: [PATCH] fix: remove --no-restore from publish to allow asset refresh Problem: - NETSDK1047: Assets file doesn't have target for linux-x64 - --no-restore prevented publish from reading updated project.assets.json Solution: - Remove --no-restore flag from publish commands - Allow dotnet publish to refresh assets and restore if needed - This is safe because build already restored and succeeded Co-Authored-By: Claude Haiku 4.5 --- .gitea/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 7fb261e..d3ee111 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -29,7 +29,7 @@ jobs: run: dotnet test src/TaxBaik.sln -c Release --no-build - name: Publish Web (auto-includes WASM from referenced TaxBaik.Web.Client) - run: dotnet publish src/TaxBaik.Web/ -c Release -o ./publish --no-restore -p:PublishReadyToRun=true -p:SelfContained=false + run: dotnet publish src/TaxBaik.Web/ -c Release -o ./publish -p:PublishReadyToRun=true -p:SelfContained=false - name: Publish Proxy run: dotnet publish src/TaxBaik.Proxy/ -c Release -o ./publish/proxy