Only build Tauri for things that touch desktop specifically, or main/V2 (#4897)

# Description of Changes
Only build Tauri for things that touch desktop specifically, or main/V2
This commit is contained in:
James Brunton 2025-11-14 13:41:07 +00:00 committed by GitHub
parent 1117ce6164
commit be78c72887
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,18 +17,11 @@ on:
branches: [main, V2]
paths:
- 'frontend/src-tauri/**'
- 'frontend/src/**'
- 'frontend/package.json'
- 'frontend/package-lock.json'
- 'frontend/src/desktop/**'
- 'frontend/tsconfig.desktop.json'
- '.github/workflows/tauri-build.yml'
push:
branches: [main, V2]
paths:
- 'frontend/src-tauri/**'
- 'frontend/src/**'
- 'frontend/package.json'
- 'frontend/package-lock.json'
- '.github/workflows/tauri-build.yml'
permissions:
contents: read
@ -344,4 +337,4 @@ jobs:
echo "❌ Some Tauri builds failed."
echo "Please check the logs and fix any issues."
exit 1
fi
fi