diff --git a/.github/workflows/core-dev.yml b/.github/workflows/core-dev.yml new file mode 100644 index 0000000..7f4a742 --- /dev/null +++ b/.github/workflows/core-dev.yml @@ -0,0 +1,111 @@ +# +# Copyright (C) 2024 nosignals +# +name: Building Mihomo & Sing-box Kernel DEV + +on: + workflow_dispatch: + inputs: + mihomo_version: + description: 'Mihomo version' + required: true + default: '1.19.1' + type: string + singbox_version: + description: 'Sing-box version' + required: true + default: '1.10.7' + type: string +jobs: + build_ipk: + permissions: + contents: write + name: Build Neko + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + release: + - 23.05.4 + arch: + - x86_64 + - arm_cortex-a7_neon-vfpv4 + - aarch64_cortex-a53 + - aarch64_cortex-a72 + - aarch64_generic + + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + with: + ref: dev + + - name: Preparing Neko + run: | + echo "" + mkdir feeds artifacts + cp -rf ./mihomo ./feeds + cp -rf ./sing-box ./feeds + + - name: Building Kernel Packages + uses: nosignals/gh-action-sdk@main + env: + ARCH: ${{ matrix.arch }}-${{ matrix.release }} + ARTIFACTS_DIR: ${{ github.workspace }}/artifacts + FEED_DIR: ${{ github.workspace }}/feeds + PACKAGES: mihomo sing-box + NO_SHFMT_CHECK: 1 + + - name: Delivering Package + uses: actions/upload-artifact@v4 + with: + name: neko-${{ matrix.release }}_${{ matrix.arch }} + path: | + ${{ github.workspace }}/artifacts/bin/packages/${{ matrix.arch }}/action/mihomo* + ${{ github.workspace }}/artifacts/bin/packages/${{ matrix.arch }}/action/sing-box* + + push_packages: + needs: build_ipk + name: Push Packages to Release + permissions: + contents: write # To push a branch + runs-on: ubuntu-latest + steps: + - name: Download temporary artifact + uses: actions/download-artifact@v3 + + - name: Moving artifact to releases + shell: bash + run: | + mkdir ./release + cp -rf ./neko-23.05.4_x86_64/mihomo* ./release/ + cp -rf ./neko-23.05.4_x86_64/sing-box* ./release/ + cp -rf ./neko-23.05.4_arm_cortex-a7_neon-vfpv4/mihomo* ./release/ + cp -rf ./neko-23.05.4_arm_cortex-a7_neon-vfpv4/sing-box* ./release/ + cp -rf ./neko-23.05.4_aarch64_generic/mihomo* ./release/ + cp -rf ./neko-23.05.4_aarch64_generic/sing-box* ./release/ + cp -rf ./neko-23.05.4_aarch64_cortex-a53/mihomo* ./release/ + cp -rf ./neko-23.05.4_aarch64_cortex-a53/sing-box* ./release/ + cp -rf ./neko-23.05.4_aarch64_cortex-a72/mihomo* ./release/ + cp -rf ./neko-23.05.4_aarch64_cortex-a72/sing-box* ./release/ + + - name: Upload release asset + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: ./release/* + overwrite: true + tag: core_${{ inputs.mihomo_version }}_${{ inputs.singbox_version }} + file_glob: true + body: | + # NEKO CORE PACKAGES + ### Mihomo Kernel ${{ inputs.mihomo_version }} + - Changelog : [v${{ inputs.mihomo_version }}](https://github.com/MetaCubeX/mihomo/releases/tag/v${{ inputs.mihomo_version }}) + - Wiki : [wiki.metacubex.one](https://wiki.metacubex.one) + + ### Sing-box Kernel ${{ inputs.singbox_version }} + - Changelog : [v${{ inputs.singbox_version }}](https://github.com/SagerNet/sing-box/releases/tag/v${{ inputs.singbox_version }}) + - Wiki : [sing-box.sagernet.org](https://sing-box.sagernet.org) + + ### Dependency Requirement + - ` ca-bundle, ip-full, kmod-tun ` \ No newline at end of file diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index a4509ce..4394a3c 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -9,7 +9,7 @@ on: version: description: 'Neko version' required: true - default: '1.2.2-beta' + default: '1.2.3-beta' type: string changelog: description: 'Changelog' @@ -22,7 +22,7 @@ jobs: permissions: contents: write name: Build Neko - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: diff --git a/README.md b/README.md index 034e031..c013b97 100644 --- a/README.md +++ b/README.md @@ -23,16 +23,16 @@ Packages list --- | Packages | Version | Arch | Information | |---|---|---|---| -| [luci-app-neko](https://github.com/nosignals/openwrt-neko/tree/main/luci-app-neko) | ` 1.2.2-beta ` |
-
+
-
-