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

This commit is contained in:
juewuy
2025-12-09 19:44:14 +08:00
parent 92c44a8d28
commit 77f4fede73

View File

@@ -1,4 +1,4 @@
name: Build meta Core for ShellCrash
name:test
on:
workflow_dispatch:
@@ -66,32 +66,32 @@ jobs:
goos: linux
goarch: amd64
goamd64: v1
# - name: linux-386
# goos: linux
# goarch: 386
# - name: linux-arm64
# goos: linux
# goarch: arm64
# - name: linux-armv5
# goos: linux
# goarch: arm
# goarm: 5
# - name: linux-armv7
# goos: linux
# goarch: arm
# goarm: 7
# - name: linux-mips-softfloat
# goos: linux
# goarch: mips
# gomips: softfloat
# - name: linux-mipsle-softfloat
# goos: linux
# goarch: mipsle
# gomips: softfloat
# - name: linux-mipsle-hardfloat
# goos: linux
# goarch: mipsle
# gomips: hardfloat
- name: linux-386
goos: linux
goarch: 386
- name: linux-arm64
goos: linux
goarch: arm64
- name: linux-armv5
goos: linux
goarch: arm
goarm: 5
- name: linux-armv7
goos: linux
goarch: arm
goarm: 7
- name: linux-mips-softfloat
goos: linux
goarch: mips
gomips: softfloat
- name: linux-mipsle-softfloat
goos: linux
goarch: mipsle
gomips: softfloat
- name: linux-mipsle-hardfloat
goos: linux
goarch: mipsle
gomips: hardfloat
fail-fast: false
runs-on: ubuntu-latest
@@ -177,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