ci(release): add debug tauri config step, set projectPath to desktop

This commit is contained in:
Yuriy 2026-01-29 16:30:37 +03:00
parent 5c396a1483
commit 8cb9d9b303

View File

@ -28,17 +28,27 @@ jobs:
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: stable toolchain: stable
targets: aarch64-apple-darwin,x86_64-apple-darwin
- name: Install UI deps - name: Install UI deps
run: cd desktop/ui && npm ci run: cd desktop/ui && npm ci
- name: Debug tauri config
run: |
echo "PWD=$(pwd)"
ls -la
echo "---- desktop/src-tauri/tauri.conf.json ----"
sed -n '1,200p' desktop/src-tauri/tauri.conf.json
echo "beforeBuildCommand:"
grep -n "beforeBuildCommand" desktop/src-tauri/tauri.conf.json || true
echo "Find other tauri configs:"
find . -maxdepth 4 \( -name "tauri.conf.json" -o -name "tauri.config.*" \) || true
- name: Build Tauri (release) - name: Build Tauri (release)
uses: tauri-apps/tauri-action@v0 uses: tauri-apps/tauri-action@v0
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
with: with:
projectPath: desktop/src-tauri projectPath: desktop
includeUpdaterJson: true includeUpdaterJson: true
tagName: ${{ github.ref_name }} tagName: ${{ github.ref_name }}