fix(release): route tauri build through turborepo task graph

Adds a `tauri` task to turbo.json with dependsOn ["^build"] so that
desktop#tauri automatically triggers web#build first via the workspace
dependency graph. The tauriScript routes tauri-action through turbo
rather than invoking tauri directly, eliminating the need for an
explicit build step.
This commit is contained in:
Offending Commit
2026-04-27 15:08:02 -05:00
parent 88820602fe
commit 6df9f02492
3 changed files with 8 additions and 4 deletions

View File

@@ -53,14 +53,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG=${{ github.event.inputs.tag || github.ref_name }}
TAG="${{ github.event.inputs.tag || github.ref_name }}"
RELEASE_ID=$(gh release view "$TAG" --json databaseId --jq '.databaseId')
echo "release_id=$RELEASE_ID" >> $GITHUB_OUTPUT
echo "release_id=$RELEASE_ID" >> "$GITHUB_OUTPUT"
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
releaseId: ${{ steps.get-release.outputs.release_id }}
beforeBuildCommand: pnpm turbo build --filter=@openconcho/web
tauriScript: pnpm turbo run tauri --filter=@openconcho/desktop --
args: --target ${{ matrix.target }}