Skip to content

Commit 2eddaf8

Browse files
committed
fix: use release configuration in demo restore and skip non-doc workflows for docs changes
1 parent 1b1b28c commit 2eddaf8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build-linux-demos.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ publish_demo() {
231231
rm -rf "$publish_dir"
232232

233233
dotnet restore "$project_path" \
234+
-p:Configuration="$CONFIGURATION" \
234235
-r "$RID" \
235236
--force-evaluate \
236237
"${NUGET_CONFIG_OPTION[@]}" \
@@ -246,6 +247,7 @@ publish_demo() {
246247
-o "$publish_dir" \
247248
--no-restore \
248249
"${NUGET_CONFIG_OPTION[@]}" \
250+
-p:Configuration="$CONFIGURATION" \
249251
-p:EnableWindowsTargeting=true \
250252
-p:RestorePackagesPath="$LINUX_NUGET_PACKAGES" \
251253
-p:NuGetPackageFolders="$LINUX_NUGET_PACKAGES" \

0 commit comments

Comments
 (0)