Skip to content

Commit b77ba79

Browse files
JusterZhuclaude
andcommitted
fix(ci): remove --no-build from pack step to fix NU5017 for Differential
The --no-build flag causes dotnet pack to fail with NU5017 for GeneralUpdate.Differential which needs pack to trigger its build. Removing --no-build lets each pack command build independently. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 88bb14c commit b77ba79

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/dotnet-ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
-c Release `
4242
-o ./nupkgs `
4343
-p:Version='${{ github.event.inputs.version }}' `
44-
-p:PackageVersion='${{ github.event.inputs.version }}' `
45-
--no-build # 避免重复构建,使用已生成的文件
44+
-p:PackageVersion='${{ github.event.inputs.version }}'
4645
}
4746
shell: pwsh
4847

0 commit comments

Comments
 (0)