From 658b1e99cd1154dc4b098d4821163cc3d557be60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 16 Sep 2024 19:03:14 +0800 Subject: [PATCH] Revert "chore: workflow" This reverts commit a8b954f1f75da5ec55b9e29cfe9e8bb1817c8dba. --- .github/workflows/build.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e2a2096..bedb58ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,15 +8,17 @@ jobs: Build-LiteLoader: runs-on: ubuntu-latest 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 Framework run: | npm i @@ -25,25 +27,25 @@ jobs: npm i --omit=dev rm package-lock.json cd .. - - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: NapCat.Framework path: dist - Build-Shell: runs-on: ubuntu-latest 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 i @@ -52,7 +54,6 @@ jobs: npm i --omit=dev rm package-lock.json cd .. - - name: Upload Artifact uses: actions/upload-artifact@v4 with: