修改内核压缩方式

This commit is contained in:
juewuy 2024-01-28 20:48:40 +08:00
parent 546553f6c8
commit e3c9cbbbd1

View File

@ -156,11 +156,10 @@ jobs:
- name: Zip core by tar
run: |
for arch in amd64 ;do #armv5 armv7 arm64 mips-softfloat mipsel-hardfloat mipsel-softfloat
mv -f ./tmp/linux-${archs}/sing-box ./tmp/singbox-linux-${archs}
chmod +x ./tmp/singbox-linux-${archs}
tar -zcvf ./tmp/singbox-linux-${archs}.tar.gz ./tmp/singbox-linux-${archs}
mv -f ./tmp/linux-${arch}/sing-box ./tmp/CrashCore
chmod +x ./tmp/CrashCore
tar -zcvf ./tmp/singbox-linux-${arch}.tar.gz ./tmp/CrashCore
done
rm -fr ./tmp/core.tar.gz
- name: Create Release and Upload Release Asset
if: ${{ env.RELEASE != '0' }}