buildDotnetModule: set --no-restore in check/publish/pack
This commit is contained in:
parent
00fe5f61ba
commit
9bb309d5b5
@ -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[@]}" \
|
||||||
|
@ -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[@]}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user