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:Deterministic=true \
--configuration "$dotnetBuildType" \
--no-restore \
--no-build \
--logger "console;verbosity=normal" \
"${runtimeIdFlagsArray[@]}" \

View File

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