Skip to content

Commit 1698723

Browse files
committed
chore: modify mill install config
1 parent 8294803 commit 1698723

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ jobs:
1515
cd rtl
1616
chmod +x scripts/install.sh
1717
make install
18-
chmod +x scripts/setup.sh
19-
make setup
18+
# chmod +x scripts/setup.sh
19+
# make setup

rtl/scripts/install.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ install_mill() {
7979
which mill >/dev/null 2>&1 && {
8080
echo "mill has been installed."
8181
} || {
82-
sudo mkdir /usr/local/bin >/dev/null 2>&1
83-
wget -O /tmp/mill https://gitee.com/oscpu/install/raw/master/mill
84-
sudo chmod +x /tmp/mill
85-
sudo mv /tmp/mill /usr/local/bin/
82+
sudo sh -c "curl -L https://github.com/com-lihaoyi/mill/releases/download/0.9.9/0.9.9 > /usr/local/bin/mill && chmod +x /usr/local/bin/mill"
83+
# sudo mkdir /usr/local/bin >/dev/null 2>&1
84+
# wget -O /tmp/mill https://gitee.com/oscpu/install/raw/master/mill
85+
# sudo chmod +x /tmp/mill
86+
# sudo mv /tmp/mill /usr/local/bin/
8687
}
8788
}
8889

0 commit comments

Comments
 (0)