~优化文件结构,准备将bin文件放到单独分支

This commit is contained in:
juewuy
2025-12-09 20:04:21 +08:00
parent 43fc1238ec
commit 8d416268f6
2 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -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