buildDotnetModule: set --no-restore in check/publish/pack

This commit is contained in:
David McFarland 2024-09-21 20:49:19 -03:00
parent 00fe5f61ba
commit 9bb309d5b5
2 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,7 @@ dotnetCheckHook() {
-p:ContinuousIntegrationBuild=true \ -p:ContinuousIntegrationBuild=true \
-p:Deterministic=true \ -p:Deterministic=true \
--configuration "$dotnetBuildType" \ --configuration "$dotnetBuildType" \
--no-restore \
--no-build \ --no-build \
--logger "console;verbosity=normal" \ --logger "console;verbosity=normal" \
"${runtimeIdFlagsArray[@]}" \ "${runtimeIdFlagsArray[@]}" \

View File

@ -55,6 +55,7 @@ dotnetInstallHook() {
-p:OverwriteReadOnlyFiles=true \ -p:OverwriteReadOnlyFiles=true \
--output "$dotnetInstallPath" \ --output "$dotnetInstallPath" \
--configuration "$dotnetBuildType" \ --configuration "$dotnetBuildType" \
--no-restore \
--no-build \ --no-build \
"${runtimeIdFlagsArray[@]}" \ "${runtimeIdFlagsArray[@]}" \
"${dotnetInstallFlagsArray[@]}" \ "${dotnetInstallFlagsArray[@]}" \
@ -73,6 +74,7 @@ dotnetInstallHook() {
-p:OverwriteReadOnlyFiles=true \ -p:OverwriteReadOnlyFiles=true \
--output "$out/share/nuget/source" \ --output "$out/share/nuget/source" \
--configuration "$dotnetBuildType" \ --configuration "$dotnetBuildType" \
--no-restore \
--no-build \ --no-build \
--runtime "$runtimeId" \ --runtime "$runtimeId" \
"${dotnetPackFlagsArray[@]}" \ "${dotnetPackFlagsArray[@]}" \