修改内核压缩方式
This commit is contained in:
59
.github/workflows/update_singbox_core_test.yaml
vendored
59
.github/workflows/update_singbox_core_test.yaml
vendored
@@ -77,32 +77,32 @@ jobs:
|
|||||||
goos: linux
|
goos: linux
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
goamd64: v1
|
goamd64: v1
|
||||||
# - name: linux-386
|
- name: linux-386
|
||||||
# goos: linux
|
goos: linux
|
||||||
# goarch: 386
|
goarch: 386
|
||||||
# - name: linux-arm64
|
- name: linux-arm64
|
||||||
# goos: linux
|
goos: linux
|
||||||
# goarch: arm64
|
goarch: arm64
|
||||||
# - name: linux-armv5
|
- name: linux-armv5
|
||||||
# goos: linux
|
goos: linux
|
||||||
# goarch: arm
|
goarch: arm
|
||||||
# goarm: 5
|
goarm: 5
|
||||||
# - name: linux-armv7
|
- name: linux-armv7
|
||||||
# goos: linux
|
goos: linux
|
||||||
# goarch: arm
|
goarch: arm
|
||||||
# goarm: 7
|
goarm: 7
|
||||||
# - name: linux-mips-softfloat
|
- name: linux-mips-softfloat
|
||||||
# goos: linux
|
goos: linux
|
||||||
# goarch: mips
|
goarch: mips
|
||||||
# gomips: softfloat
|
gomips: softfloat
|
||||||
# - name: linux-mipsel-softfloat
|
- name: linux-mipsel-softfloat
|
||||||
# goos: linux
|
goos: linux
|
||||||
# goarch: mipsle
|
goarch: mipsle
|
||||||
# gomips: softfloat
|
gomips: softfloat
|
||||||
# - name: linux-mipsel-hardfloat
|
- name: linux-mipsel-hardfloat
|
||||||
# goos: linux
|
goos: linux
|
||||||
# goarch: mipsle
|
goarch: mipsle
|
||||||
# gomips: hardfloat
|
gomips: hardfloat
|
||||||
|
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -155,10 +155,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Zip core by tar
|
- name: Zip core by tar
|
||||||
run: |
|
run: |
|
||||||
for arch in amd64 ;do #armv5 armv7 arm64 mips-softfloat mipsel-hardfloat mipsel-softfloat
|
for arch in amd64 armv5 armv7 arm64 mips-softfloat mipsel-hardfloat mipsel-softfloat;do
|
||||||
mv -f ./tmp/linux-${arch}/sing-box ./tmp/CrashCore
|
mv -f ./tmp/linux-${arch}/sing-box ./tmp/CrashCore
|
||||||
chmod +x ./tmp/CrashCore
|
chmod +x ./tmp/CrashCore
|
||||||
tar -zcvf ./tmp/singbox-linux-${arch}.tar.gz ./tmp/CrashCore
|
tar -zcvf ./tmp/singbox-linux-${arch}.tar.gz -C ./tmp CrashCore
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Create Release and Upload Release Asset
|
- name: Create Release and Upload Release Asset
|
||||||
@@ -171,7 +171,8 @@ jobs:
|
|||||||
draft: false
|
draft: false
|
||||||
prerelease: true
|
prerelease: true
|
||||||
files: |
|
files: |
|
||||||
./tmp/*
|
./tmp/singbox*
|
||||||
|
./tmp/version
|
||||||
|
|
||||||
- name: upload artifact
|
- name: upload artifact
|
||||||
if: ${{ env.RELEASE == '0' }}
|
if: ${{ env.RELEASE == '0' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user