diff --git a/.github/workflows/update_singbox_core.yaml b/.github/workflows/update_singbox_core.yaml index 9a2a5c5..9c63818 100644 --- a/.github/workflows/update_singbox_core.yaml +++ b/.github/workflows/update_singbox_core.yaml @@ -116,7 +116,7 @@ jobs: run: | mkdir -p ./bin/singbox rm -fr ./bin/singbox/* - mv -f $dir/sing-box-linux-* ./bin/singbox/ + mv -f ./tmp/sing-box-linux-* ./bin/singbox/ rm -fr ./tmp sed -i "s/singbox_v=.*/singbox_v=$(./bin/singbox/singbox-linux-amd64 version 2>/dev/null | grep -Eo 'version .*' | sed 's/version //')/" bin/version - name: Commit and push