mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-05-27 09:11:48 +08:00
feat: 修改打包命令
This commit is contained in:
@@ -137,9 +137,12 @@ jobs:
|
||||
with:
|
||||
tag_name: ${{ github.event_name == 'workflow_dispatch' && format('v{0}', inputs.version) || github.ref_name }}
|
||||
name: ChatLab ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.ref_name }}
|
||||
draft: true
|
||||
repository: hellodigua/ChatLab
|
||||
target_commitish: main
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
files: dist/*
|
||||
files: |
|
||||
dist/*.exe
|
||||
dist/*.dmg
|
||||
dist/*.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
+2
-2
@@ -19,8 +19,8 @@
|
||||
"format": "prettier --write .",
|
||||
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
|
||||
"build": "electron-vite build",
|
||||
"build:mac": "electron-vite build && electron-builder --mac",
|
||||
"build:win": "electron-vite build && electron-builder --win",
|
||||
"build:mac": "npm run build && electron-builder --mac --config electron-builder.yml -p never",
|
||||
"build:win": "npm run build && electron-builder --win --config electron-builder.yml -p never",
|
||||
"type-check": "vue-tsc --noEmit",
|
||||
"postinstall": "electron-rebuild"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user