Skip to content

Commit 1e69646

Browse files
authored
Merge pull request #379 from mjcheetham/fix-macos-hang
Avoid extra restore in macOS installer creation (fix CI hangs)
2 parents 6540cf2 + 0252d80 commit 1e69646

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/osx/Installer.Mac/layout.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,26 @@ cp "$INSTALLER_SRC/uninstall.sh" "$PAYLOAD" || exit 1
7474
# Publish core application executables
7575
echo "Publishing core application..."
7676
dotnet publish "$GCM_SRC" \
77+
--no-restore \
78+
-m:1 \
7779
--configuration="$CONFIGURATION" \
7880
--framework="$FRAMEWORK" \
7981
--runtime="$RUNTIME" \
8082
--output="$(make_absolute "$PAYLOAD")" || exit 1
8183

8284
echo "Publishing Bitbucket UI helper..."
8385
dotnet publish "$BITBUCKET_UI_SRC" \
86+
--no-restore \
87+
-m:1 \
8488
--configuration="$CONFIGURATION" \
8589
--framework="$FRAMEWORK" \
8690
--runtime="$RUNTIME" \
8791
--output="$(make_absolute "$PAYLOAD")" || exit 1
8892

8993
echo "Publishing GitHub UI helper..."
9094
dotnet publish "$GITHUB_UI_SRC" \
95+
--no-restore \
96+
-m:1 \
9197
--configuration="$CONFIGURATION" \
9298
--framework="$FRAMEWORK" \
9399
--runtime="$RUNTIME" \

0 commit comments

Comments
 (0)