From 7e1e7fa98d7f7d12a024ca4b3bbe97e0f6b87e30 Mon Sep 17 00:00:00 2001 From: juewuy Date: Fri, 2 Jan 2026 11:12:33 +0800 Subject: [PATCH] =?UTF-8?q?~=E8=B0=83=E6=95=B4=E8=87=AA=E5=8A=A8=E7=BC=96?= =?UTF-8?q?=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/core_auto_update.yml | 49 +++++++------------------- 1 file changed, 12 insertions(+), 37 deletions(-) diff --git a/.github/workflows/core_auto_update.yml b/.github/workflows/core_auto_update.yml index 3cb5c69e..9c9d4044 100644 --- a/.github/workflows/core_auto_update.yml +++ b/.github/workflows/core_auto_update.yml @@ -6,55 +6,30 @@ on: workflow_dispatch: jobs: - check_version: - runs-on: ubuntu-latest - steps: - - name: checkout - uses: actions/checkout@v4 - with: - repository: reF1nd/sing-box - ref: reF1nd-dev - fetch-depth: 0 - - name: Check version - run: | - git remote add sekai https://github.com/SagerNet/sing-box.git - git fetch --tags sekai - version_new=$(CGO_ENABLED=0 go run ./cmd/internal/read_tag) - version_old=$(curl -sSl https://github.com/juewuy/ShellCrash/releases/download/singbox_core_reF1nd/version) - if [ "$version_old" != "$version_new" ];then - echo a=$version_old >> $GITHUB_ENV - echo b=$version_new >> $GITHUB_ENV - else - echo "未检查到版本更新,已退出!" - exit 1 - fi auto_update_singboxr_dev: - needs: check_version - if: ${{ success() }} permissions: write-all uses: juewuy/ShellCrash/.github/workflows/update_singbox_core.yaml@dev with: tag1: reF1nd/sing-box tag2: reF1nd-dev - tag3: singbox_core_dev_reF1nd - tag5: with_quic,with_dhcp,with_wireguard,with_tailscale,with_shadowsocksr,with_utls,with_clash_api,with_gvisor + tag4: singboxr + tag5: with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_shadowsocksr,with_acme,with_clash_api,with_tailscale + tag6:gz secrets: inherit - - auto_update_singboxr_main: - needs: check_version - if: ${{ success() }} + + auto_update_singboxr_dev: permissions: write-all - uses: juewuy/ShellCrash/.github/workflows/update_singbox_core.yaml@dev + uses: juewuy/ShellCrash/.github/workflows/update_meta_core.yaml@dev with: - tag1: reF1nd/sing-box - tag2: reF1nd-main - tag3: singbox_core_reF1nd - tag5: with_quic,with_dhcp,with_wireguard,with_tailscale,with_shadowsocksr,with_utls,with_clash_api,with_gvisor + tag1: MetaCubeX/mihomo + tag2: Alpha + tag4: meta + tag5: with_gvisor + tag6:gz secrets: inherit - + cleanup: - needs: check_version runs-on: ubuntu-latest steps: - name: cleanup