Install mint from GitHub is super faster than using brew install mint
Created
April 14, 2021 08:58
-
-
Save r-plus/ee64ab6ce40583adeb58882c52973a5b to your computer and use it in GitHub Desktop.
Install yonaskolb/mint from GitHub (confirmed on CircleCI)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- run: | |
name: Install mint | |
command: | | |
version=$(curl -s "https://github.com/yonaskolb/Mint/releases/latest" | sed 's/^.*tag\/\([^"]*\).*$/\1/') | |
echo Installing mint ${version} | |
curl -Ls -o mint.zip https://github.com/yonaskolb/Mint/releases/download/${version}/mint.zip | |
unzip mint.zip | |
rm mint.zip | |
mv mint /usr/local/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment