fix: remove --no-restore from publish to allow asset refresh
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m54s
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m54s
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user