🐛 update build single app
This commit is contained in:
4
.github/workflows/pake_build_single_app.yaml
vendored
4
.github/workflows/pake_build_single_app.yaml
vendored
@@ -98,7 +98,7 @@ jobs:
|
|||||||
URL: ${{ inputs.url }}
|
URL: ${{ inputs.url }}
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
node ./script/build_with_pake_cli.js
|
npm run build:config
|
||||||
|
|
||||||
- name: Build for Ubuntu
|
- name: Build for Ubuntu
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
@@ -108,7 +108,7 @@ jobs:
|
|||||||
mv src-tauri/target/release/bundle/deb/*.deb output/linux/${{inputs.title}}_`arch`.deb
|
mv src-tauri/target/release/bundle/deb/*.deb output/linux/${{inputs.title}}_`arch`.deb
|
||||||
mv src-tauri/target/release/bundle/appimage/*.AppImage output/linux/"${{inputs.title}}"_`arch`.AppImage
|
mv src-tauri/target/release/bundle/appimage/*.AppImage output/linux/"${{inputs.title}}"_`arch`.AppImage
|
||||||
|
|
||||||
- name: Build for Macos
|
- name: Build for macOS
|
||||||
if: matrix.os == 'macos-latest'
|
if: matrix.os == 'macos-latest'
|
||||||
run: |
|
run: |
|
||||||
rustup target add aarch64-apple-darwin
|
rustup target add aarch64-apple-darwin
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
"build": "npm run tauri build --release",
|
"build": "npm run tauri build --release",
|
||||||
"build:debug": "npm run tauri build -- --debug",
|
"build:debug": "npm run tauri build -- --debug",
|
||||||
"build:mac": "npm run tauri build -- --target universal-apple-darwin",
|
"build:mac": "npm run tauri build -- --target universal-apple-darwin",
|
||||||
|
"build:config": "chmod +x ./script/build_with_app_config.js && node ./script/build_with_app_config.js",
|
||||||
"analyze": "cd src-tauri && cargo bloat --release --crates",
|
"analyze": "cd src-tauri && cargo bloat --release --crates",
|
||||||
"tauri": "tauri",
|
"tauri": "tauri",
|
||||||
"cli": "rollup -c rollup.config.js --watch",
|
"cli": "rollup -c rollup.config.js --watch",
|
||||||
|
|||||||
Reference in New Issue
Block a user