Update publish.yml

This commit is contained in:
idranme 2024-08-06 14:51:17 +08:00
parent e1ff366e10
commit 9e57b2c17e
No known key found for this signature in database
GPG Key ID: 926F7B5B668E495F

@ -19,15 +19,14 @@ jobs:
- name: install dependenies - name: install dependenies
run: | run: |
export ELECTRON_SKIP_BINARY_DOWNLOAD=1 export ELECTRON_SKIP_BINARY_DOWNLOAD=1
npm install yarn install
- name: build - name: build
run: npm run build run: yarn build
- name: zip - name: zip
run: | run: |
sudo apt install zip -y sudo apt install zip -y
cp manifest.json ./dist/manifest.json
cd ./dist/ cd ./dist/
zip -r ../LLOneBot.zip ./* zip -r ../LLOneBot.zip ./*