Skip to content

Commit 95b0da4

Browse files
committed
Try fix ci again
1 parent 89cd35d commit 95b0da4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/scripts/uninstall-dotnet-macos

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ curl -L -o "$filename" "$download_url"
88

99
# Prepare uninstall tool
1010
tar -xzf "$filename"
11-
tool_path=$(find . -name dotnet-core-uninstall)
11+
uninstall_tool_path=$(find . -name dotnet-core-uninstall)
1212
chmod +x "$tool_path"
1313

1414
# Perform uninstall
15-
"$tool_path" remove --all
15+
"$uninstall_tool_path" remove --all --aspnet-runtime
16+
"$uninstall_tool_path" remove --all --hosting-bundle
17+
"$uninstall_tool_path" remove --all --runtime
18+
"$uninstall_tool_path" remove --all --sdk

.github/scripts/uninstall-dotnet-windows.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ while (-not (Test-Path $uninstallToolPath)) {
1414
}
1515

1616
# Perform uninstall
17-
& $uninstallToolPath remove --all
17+
& $uninstallToolPath remove --all --aspnet-runtime
18+
& $uninstallToolPath remove --all --hosting-bundle
19+
& $uninstallToolPath remove --all --runtime
20+
& $uninstallToolPath remove --all --sdk

0 commit comments

Comments
 (0)