chore: LLNC Deprecated

This commit is contained in:
手瓜一十雪 2024-08-21 08:12:52 +08:00
parent 13d8d10a7f
commit 9b76fa3582

View File

@ -30,34 +30,34 @@ jobs:
ls ls
node ./script/checkVersion.cjs node ./script/checkVersion.cjs
sh ./checkVersion.sh sh ./checkVersion.sh
Build-LiteLoader: # Build-LiteLoader:
needs: [check-version] # needs: [check-version]
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- name: Clone Main Repository # - name: Clone Main Repository
uses: actions/checkout@v4 # uses: actions/checkout@v4
with: # with:
repository: 'NapNeko/NapCatQQ' # repository: 'NapNeko/NapCatQQ'
submodules: true # submodules: true
ref: main # ref: main
token: ${{ secrets.NAPCAT_BUILD }} # token: ${{ secrets.NAPCAT_BUILD }}
- name: Use Node.js 20.X # - name: Use Node.js 20.X
uses: actions/setup-node@v4 # uses: actions/setup-node@v4
with: # with:
node-version: 20.x # node-version: 20.x
- name: Build NuCat Framework # - name: Build NuCat Framework
run: | # run: |
npm i # npm i
npm run build:framework # npm run build:framework
cd dist # cd dist
npm i --omit=dev # npm i --omit=dev
cd .. # cd ..
- name: Upload Artifact # - name: Upload Artifact
uses: actions/upload-artifact@v4 # uses: actions/upload-artifact@v4
with: # with:
name: NapCat.Framework # name: NapCat.Framework
path: dist # path: dist
Build-Shell: Build-Shell:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [check-version] needs: [check-version]
@ -90,7 +90,8 @@ jobs:
path: dist path: dist
release-napcat: release-napcat:
needs: [Build-LiteLoader,Build-Shell] needs: [Build-Shell]
# needs: [Build-LiteLoader,Build-Shell]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download All Artifact - name: Download All Artifact
@ -121,6 +122,5 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
body_path: CHANGELOG.md body_path: CHANGELOG.md
files: | files: |
NapCat.Framework.zip
NapCat.Shell.zip NapCat.Shell.zip
draft: true draft: true