diff --git a/.github/workflows/update_singbox_core_test.yaml b/.github/workflows/update_singbox_core_test.yaml index 52cada1..b6fc172 100644 --- a/.github/workflows/update_singbox_core_test.yaml +++ b/.github/workflows/update_singbox_core_test.yaml @@ -77,32 +77,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-mipsel-softfloat - # goos: linux - # goarch: mipsle - # gomips: softfloat - # - name: linux-mipsel-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-mipsel-softfloat + goos: linux + goarch: mipsle + gomips: softfloat + - name: linux-mipsel-hardfloat + goos: linux + goarch: mipsle + gomips: hardfloat fail-fast: false runs-on: ubuntu-latest @@ -155,10 +155,10 @@ jobs: - name: Zip core by tar 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 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 - name: Create Release and Upload Release Asset @@ -171,7 +171,8 @@ jobs: draft: false prerelease: true files: | - ./tmp/* + ./tmp/singbox* + ./tmp/version - name: upload artifact if: ${{ env.RELEASE == '0' }}