Skip to content

Commit ec2e4bb

Browse files
committed
Finally working ci?
1 parent 2d2ad8c commit ec2e4bb

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/scripts/uninstall-dotnet-macos

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
latest_release_json=$(curl -s https://api.github.com/repos/dotnet/cli-lab/releases/latest)
55
download_url=$(echo "$latest_release_json" | grep "browser_download_url" | grep "osx-x64.tar.gz" | cut -d '"' -f 4)
66
filename=$(basename "$download_url")
7-
echo $download_url
8-
echo $filename
9-
echo $latest_release_json
107
curl -L -o "$filename" "$download_url"
118

129
# Prepare uninstall tool
@@ -15,7 +12,7 @@ uninstall_tool_path=$(find . -name dotnet-core-uninstall)
1512
chmod +x "$uninstall_tool_path"
1613

1714
# Perform uninstall
18-
"$uninstall_tool_path" remove --yes --force --all --aspnet-runtime --verbosity detailed
19-
"$uninstall_tool_path" remove --yes --force --all --hosting-bundle --verbosity detailed
20-
"$uninstall_tool_path" remove --yes --force --all --runtime --verbosity detailed
21-
"$uninstall_tool_path" remove --yes --force --all --sdk --verbosity detailed
15+
sudo "$uninstall_tool_path" remove --yes --force --all --aspnet-runtime --verbosity detailed
16+
sudo "$uninstall_tool_path" remove --yes --force --all --hosting-bundle --verbosity detailed
17+
sudo "$uninstall_tool_path" remove --yes --force --all --runtime --verbosity detailed
18+
sudo "$uninstall_tool_path" remove --yes --force --all --sdk --verbosity detailed

0 commit comments

Comments
 (0)