The directory is created by the SDK license step with sudo, so we need
sudo to change its permissions. This fixes the "Operation not permitted"
error during the workflow run.
This workflow automatically builds APKs for feature branches:
- Triggers on pushes to branches starting with 'claude/', 'feature/', or 'dev/'
- Runs build_runner to generate required .g.dart files
- Supports both signed (if secrets available) and debug builds
- Uploads APK artifacts with branch name and commit SHA
- 30-day artifact retention for testing
- Manual trigger support via workflow_dispatch
This allows developers to test changes without manually building locally.
Artifacts can be downloaded from the GitHub Actions run page.
* Refactor CI workflow and add Linux packaging support; update app title to "Vaani"
* Refactor CI workflow to separate setup, testing, and building steps; add Linux AppImage packaging support
* use reusable workflow
* Make Flutter version input optional in setup-env action and rename step in workflow
* Replace setup-env action with reusable flutter-setup workflow; streamline CI configuration and enhance dependency management
* Add Flutter setup composite action for streamlined environment configuration
* Move repository checkout step to the main workflow for better control and clarity in the CI process
* Remove unnecessary shell specification for Flutter dependency setup to simplify action configuration
* Add shell specification for Flutter dependency command to enhance cross-platform compatibility
* Comment out static analysis step in Flutter test workflow to streamline CI process
* Add repository checkout and Flutter environment setup steps to CI workflow
* Add installation of Linux dependencies for Flutter test workflow
* Remove obsolete Flutter setup and release workflows to streamline CI configuration
* Fix formatting in make_config.yaml by ensuring newline at end of file