diff --git a/.github/workflows/update_singbox_core.yaml b/.github/workflows/update_singbox_core.yaml index 81ea972..b0db142 100644 --- a/.github/workflows/update_singbox_core.yaml +++ b/.github/workflows/update_singbox_core.yaml @@ -25,7 +25,7 @@ jobs: archs=(386 amd64 armv7 arm64) new_name=(386 amd64 armv7 armv8) mkdir tmp - for i in "${new_name[@]}";do + for((i=0;i<7;i++));do wget "https://github.com/${download_project}/releases/download/${download_tag}/sing-box-${download_version}-linux-${archs[i]}.tar.gz" -O - | tar -zxvf > ./tmp/singbox-linux-${new_name[i]} chmod +x ./tmp/singbox-linux-${new_name[i]} if [ "${archs[i]}" != "armv5" ];then