~优化文件结构,准备将bin文件放到单独分支
This commit is contained in:
4
.github/workflows/update_meta_core.yaml
vendored
4
.github/workflows/update_meta_core.yaml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/update_singbox_core.yaml
vendored
4
.github/workflows/update_singbox_core.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user