增加singbox内核生成文件
This commit is contained in:
3
.github/workflows/update_singbox_core.yaml
vendored
3
.github/workflows/update_singbox_core.yaml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
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 ./tmp/core.tar.gz
|
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
|
tar -zxvf --strip-components=1 ./tmp/core.tar.gz
|
||||||
mv -f ./tmp/sing-box ./tmp/singbox-linux-${new_name[i]}
|
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
|
||||||
@@ -36,6 +36,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
rm -rf ./tmp/LICENSE
|
||||||
rm -fr upx*
|
rm -fr upx*
|
||||||
- name: Create Release and Upload Release Asset
|
- name: Create Release and Upload Release Asset
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user