Skip to content

ci: modular release pipeline with independent RuStore publish and PR build checks - #93

Open
pavelpikta wants to merge 1 commit into
lampa-app:mainfrom
pavelpikta:feature/ci
Open

pavelpikta wants to merge 1 commit into
lampa-app:mainfrom
pavelpikta:feature/ci

Conversation

@pavelpikta

Copy link
Copy Markdown
Contributor

Summary

Rework the CI/CD pipeline: replace the single monolithic android.yml with a small set of workflows so that building, the GitHub release and the RuStore publish are independent, and add build checks for PRs and main.

  • Add reusable build workflow (build.yml) and setup-android composite action
  • Add CI workflow: debug build of lite and ruStore on PRs and pushes to main (no secrets needed, safe for fork PRs)
  • Rework release workflow (tags vX.Y.Z): build once, then publish to GitHub and RuStore in independent jobs, so a RuStore failure no longer affects the GitHub release
  • Release keeps a single app-lite-release.apk asset (the in-app updater downloads the last asset), SHA-256 is added to the release notes
  • RuStore publish: hardened script (key cleanup, masked token, rollback of the draft on upload/commit failure)
  • Upgrade actions to latest majors, least-privilege permissions per job
  • Add Dependabot for GitHub Actions and Gradle

- Add reusable build workflow (build.yml) and setup-android composite action
- Add CI workflow: debug build of lite and ruStore on PRs and pushes to main
  (no secrets needed, safe for fork PRs)
- Rework release workflow (tags vX.Y.Z): build once, then publish to GitHub
  and RuStore in independent jobs, so a RuStore failure no longer affects
  the GitHub release
- Release keeps a single app-lite-release.apk asset (the in-app updater
  downloads the last asset), SHA-256 is added to the release notes
- RuStore publish: hardened script (key cleanup, masked token, rollback of
  the draft on upload/commit failure)
- Upgrade actions to latest majors, least-privilege permissions per job
- Add Dependabot for GitHub Actions and Gradle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant