name: "Build Test" on: workflow_dispatch: permissions: write-all jobs: build-liteloader: runs-on: ubuntu-latest strategy: fail-fast: false matrix: target_platform: [linux] target_arch: [x64, arm64] steps: - name: Clone Main Repository uses: actions/checkout@v4 with: repository: 'NapNeko/NapCatQQ' submodules: true ref: main token: ${{ secrets.NAPCAT_BUILD }} - name: Use Node.js 20.X uses: actions/setup-node@v4 with: node-version: 20.x - name: Build NuCat LiteLoader run: | npm run build:prod cd dist npm i --omit=dev cd .. - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: NapCat.LiteLoader.${{ matrix.target_arch }} path: dist build-win32: runs-on: ubuntu-latest strategy: fail-fast: false matrix: target_platform: [win32] target_arch: [x64,ia32] steps: - name: Clone Main Repository uses: actions/checkout@v4 with: repository: 'NapNeko/NapCatQQ' submodules: true ref: main token: ${{ secrets.NAPCAT_BUILD }} - name: Use Node.js 20.X uses: actions/setup-node@v4 with: node-version: 20.x - name: Build NuCat Shell run: | npm i npm run build:shell cd dist npm i --omit=dev cd .. - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: NapCat.Shell.${{ matrix.target_arch }} path: dist