Update update_singbox_core.yaml
This commit is contained in:
4
.github/workflows/update_singbox_core.yaml
vendored
4
.github/workflows/update_singbox_core.yaml
vendored
@@ -24,7 +24,9 @@ jobs:
|
|||||||
new_name=(386 amd64 armv7 armv8)
|
new_name=(386 amd64 armv7 armv8)
|
||||||
mkdir tmp
|
mkdir tmp
|
||||||
for((i=0;i<7;i++));do
|
for((i=0;i<7;i++));do
|
||||||
wget "https://github.com/${download_project}/releases/download/v${download_version}/sing-box-${download_version}-linux-${archs[i]}.tar.gz" -O - | tar -zxvf -C "./tmp/singbox-linux-${new_name[i]}"
|
wget "https://github.com/${download_project}/releases/download/v${download_version}/sing-box-${download_version}-linux-${archs[i]}.tar.gz" -O ./tmp/core.tar.gz
|
||||||
|
tar -zxvf ./tmp/core.tar.gz
|
||||||
|
mv -f ./tmp/sing-box ./tmp/singbox-linux-${new_name[i]}
|
||||||
chmod +x ./tmp/singbox-linux-${new_name[i]}
|
chmod +x ./tmp/singbox-linux-${new_name[i]}
|
||||||
if [ "${archs[i]}" != "armv5" ];then
|
if [ "${archs[i]}" != "armv5" ];then
|
||||||
if [[ ${archs[i]} = mips* ]];then
|
if [[ ${archs[i]} = mips* ]];then
|
||||||
|
|||||||
Reference in New Issue
Block a user