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:Deterministic=true \
|
||||
--configuration "$dotnetBuildType" \
|
||||
--no-restore \
|
||||
--no-build \
|
||||
--logger "console;verbosity=normal" \
|
||||
"${runtimeIdFlagsArray[@]}" \
|
||||
|
@ -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[@]}" \
|
||||
|
Loading…
Reference in New Issue
Block a user