#10 build via pnpm

This commit is contained in:
neil 2022-11-22 11:17:31 +08:00
parent 9c60de676b
commit 6f67dc4798
2 changed files with 11 additions and 8 deletions

View file

@ -35,9 +35,12 @@ jobs:
- name: install app dependencies and build it
run: pnpm install && pnpm --filter gui build
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
projectPath: ./packages/gui
configPath: ./packages/gui/src-tauri/tauri.conf.json
- name: install app dependencies and build it
run: pnpm --filter gui tauri build
# - uses: tauri-apps/tauri-action@v0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# projectPath: ./packages/gui
# configPath: ./packages/gui/src-tauri/tauri.conf.json

View file

@ -4,7 +4,7 @@
"beforeBuildCommand": "pnpm build",
"beforeDevCommand": "pnpm dev",
"devPath": "http://localhost:8080",
"distDir": "../dist"
"distDir": "../build"
},
"package": {
"productName": "gui",
@ -43,7 +43,7 @@
"icons/icon.icns",
"icons/icon.ico"
],
"identifier": "com.tauri.dev",
"identifier": "com.tea.xyz",
"longDescription": "",
"macOS": {
"entitlements": null,