diff --git a/.github/workflows/update_singbox_core.yaml b/.github/workflows/update_singbox_core.yaml index 410d06c..7bf5530 100644 --- a/.github/workflows/update_singbox_core.yaml +++ b/.github/workflows/update_singbox_core.yaml @@ -25,7 +25,7 @@ jobs: mkdir tmp 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 - tar -zxvf ./tmp/core.tar.gz + tar -zxvf ./tmp/core.tar.gz -C './tmp' mv -f ./tmp/sing-box-${download_version}-linux-${archs[i]}/sing-box ./tmp/singbox-linux-${new_name[i]} chmod +x ./tmp/singbox-linux-${new_name[i]} if [ "${archs[i]}" != "armv5" ];then