ci(release): add debug tauri config step, set projectPath to desktop
This commit is contained in:
parent
5c396a1483
commit
8cb9d9b303
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@ -28,17 +28,27 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
targets: aarch64-apple-darwin,x86_64-apple-darwin
|
||||
|
||||
- name: Install UI deps
|
||||
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)
|
||||
uses: tauri-apps/tauri-action@v0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||
with:
|
||||
projectPath: desktop/src-tauri
|
||||
projectPath: desktop
|
||||
includeUpdaterJson: true
|
||||
tagName: ${{ github.ref_name }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user