From 0f6c7910335d7556020a168d9c97c38200343b64 Mon Sep 17 00:00:00 2001 From: juewuy Date: Thu, 4 Jan 2024 20:38:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0singbox=E5=86=85=E6=A0=B8?= =?UTF-8?q?=E7=94=9F=E6=88=90=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_singbox_core.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/update_singbox_core.yaml b/.github/workflows/update_singbox_core.yaml index b0db142..f231753 100644 --- a/.github/workflows/update_singbox_core.yaml +++ b/.github/workflows/update_singbox_core.yaml @@ -3,8 +3,6 @@ on: workflow_dispatch: env: - download_tag: ${{ github.event.inputs.tag }} - download_version: '' download_project: SagerNet/sing-box jobs: Update: @@ -26,7 +24,7 @@ jobs: new_name=(386 amd64 armv7 armv8) mkdir tmp 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]} + wget "https://github.com/${download_project}/releases/download/v${download_version}/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 if [[ ${archs[i]} = mips* ]];then