Skip to content

Commit e511362

Browse files
authored
Update uninstall-dotnet-macos
1 parent 16eaafe commit e511362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/uninstall-dotnet-macos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Download uninstall tool
4-
latest_release_json=$(curl -s https://api.github.com/repos/dotnet/cli-lab/releases/latest)
4+
latest_release_json=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" 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")
77
curl -L -o "$filename" "$download_url"

0 commit comments

Comments
 (0)