build(ci): optimize release workflow and update Room configuration#4775
Merged
jamesarich merged 2 commits intomainfrom Mar 13, 2026
Merged
build(ci): optimize release workflow and update Room configuration#4775jamesarich merged 2 commits intomainfrom
jamesarich merged 2 commits intomainfrom
Conversation
This commit refactors the CI release workflow to improve reliability and cleans up redundant Room compiler configurations in the build logic.
Specific changes include:
- **CI/CD (GitHub Actions):**
- Updated build provenance attestation steps to run only on `success()` instead of `always()`, preventing attestation attempts for failed builds.
- Removed redundant `GITHUB_TOKEN` environment variables from the `exportLibraryDefinitions` steps across Google Play, F-Droid, and Native distribution jobs.
- **Build Logic:**
- Removed `kspCommonMainMetadata` dependency for the Room compiler in `AndroidRoomConventionPlugin.kt`, streamlining the KSP configuration for Android.
Signed-off-by: James Rich <[email protected]>
Signed-off-by: James Rich <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4775 +/- ##
========================================
- Coverage 9.51% 9.28% -0.24%
========================================
Files 480 516 +36
Lines 16372 17240 +868
Branches 2401 2580 +179
========================================
+ Hits 1558 1600 +42
- Misses 14555 15381 +826
Partials 259 259 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit refactors the CI release workflow to improve reliability and cleans up redundant Room compiler configurations in the build logic.
Specific changes include:
success()instead ofalways(), preventing attestation attempts for failed builds.GITHUB_TOKENenvironment variables from theexportLibraryDefinitionssteps across Google Play, F-Droid, and Native distribution jobs.kspCommonMainMetadatadependency for the Room compiler inAndroidRoomConventionPlugin.kt, streamlining the KSP configuration for Android.