From 8d416268f64dd2f2b8166509d92e343e47c5a485 Mon Sep 17 00:00:00 2001 From: juewuy Date: Tue, 9 Dec 2025 20:04:21 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6=E7=BB=93?= =?UTF-8?q?=E6=9E=84=EF=BC=8C=E5=87=86=E5=A4=87=E5=B0=86bin=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=94=BE=E5=88=B0=E5=8D=95=E7=8B=AC=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_meta_core.yaml | 4 +++- .github/workflows/update_singbox_core.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_meta_core.yaml b/.github/workflows/update_meta_core.yaml index 8513f4a..b7d271c 100644 --- a/.github/workflows/update_meta_core.yaml +++ b/.github/workflows/update_meta_core.yaml @@ -164,9 +164,10 @@ jobs: VERSION: ${{needs.meta.outputs.version}} steps: - name: Checkout ShellCrash - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@v5 with: fetch-depth: 1 + ref: update - name: Download file from workspace uses: actions/download-artifact@v4 @@ -176,6 +177,7 @@ jobs: - name: Zip core by tar run: | for arch in amd64 armv5 armv7 arm64 mips-softfloat mipsle-hardfloat mipsle-softfloat;do + [ ! -f ./tmp/linux-${arch}/meta ] && continue mv -f ./tmp/linux-${arch}/meta ./tmp/CrashCore chmod +x ./tmp/CrashCore tar --no-same-owner -zcvf ./tmp/clash-linux-${arch}.tar.gz -C ./tmp CrashCore diff --git a/.github/workflows/update_singbox_core.yaml b/.github/workflows/update_singbox_core.yaml index 4eae203..a03ca48 100644 --- a/.github/workflows/update_singbox_core.yaml +++ b/.github/workflows/update_singbox_core.yaml @@ -183,10 +183,11 @@ jobs: VERSION: ${{needs.sing-box.outputs.version}} steps: - name: Checkout ShellCrash - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@v5 with: repository: juewuy/ShellCrash fetch-depth: 1 + ref: update - name: Download file from workspace uses: actions/download-artifact@v4 @@ -196,6 +197,7 @@ jobs: - name: Zip core by tar run: | for arch in amd64 armv5 armv7 arm64 mips-softfloat mipsel-hardfloat mipsel-softfloat;do + [ ! -f ./tmp/linux-${arch}/sing-box ] && continue mv -f ./tmp/linux-${arch}/sing-box ./tmp/CrashCore chmod +x ./tmp/CrashCore tar --no-same-owner -zcvf ./tmp/singbox-linux-${arch}.tar.gz -C ./tmp CrashCore