Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patilshreyas/androidfastlanecicd
š±A sample repository to demonstrate the Automate publishingš app to the Google Play Store with GitHub Actionsā”+ Fastlaneš.
https://github.com/patilshreyas/androidfastlanecicd
android android-application automation ci ci-cd developer-console fastlane fastlane-android firebase firebase-app-distribution github github-actions googleplay kotlin kotlin-android play-console play-store
Last synced: 12 days ago
JSON representation
š±A sample repository to demonstrate the Automate publishingš app to the Google Play Store with GitHub Actionsā”+ Fastlaneš.
- Host: GitHub
- URL: https://github.com/patilshreyas/androidfastlanecicd
- Owner: PatilShreyas
- Created: 2020-10-03T08:25:52.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-07T13:59:53.000Z (over 3 years ago)
- Last Synced: 2024-10-14T03:43:18.172Z (25 days ago)
- Topics: android, android-application, automation, ci, ci-cd, developer-console, fastlane, fastlane-android, firebase, firebase-app-distribution, github, github-actions, googleplay, kotlin, kotlin-android, play-console, play-store
- Language: Kotlin
- Homepage:
- Size: 150 KB
- Stars: 111
- Watchers: 3
- Forks: 46
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Android App Deployment with Fastlane + GitHub Actions CI / CD
A sample repository to demonstrate the Automate publishing app to the _Google Play Store_ with GitHub Actionsā”+ Fastlaneš.
## Refer these articles
> These article includes all steps or related information for setting up this.
- https://medium.com/firebase-developers/quickly-distribute-app-with-firebase-app-distribution-using-github-actions-fastlane-c7d8eca18ee0
- https://medium.com/scalereal/automate-publishing-app-to-the-google-play-store-with-github-actions-fastlane-ac9104712486## Status
| Deployment Status (Production) | Deployment Status (Beta) | Distribution Status |
|----------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------| -------------------- |
| ![Release (Production)](https://github.com/PatilShreyas/AndroidFastlaneCICD/workflows/Release%20(Production)/badge.svg) | ![Release (Beta)](https://github.com/PatilShreyas/AndroidFastlaneCICD/workflows/Release%20(Beta)/badge.svg) | ![Distribute](https://github.com/PatilShreyas/AndroidFastlaneCICD/workflows/Distribute/badge.svg) |---
## Workflows
- [`distribute.yml`](.github/workflows/distribute.yml) - For Distributing test builds using the Firebase App Distribution.
- [`releaseBeta.yml`](.github/workflows/releaseBeta.yml) - For deploying application (AAB) to the _beta_ track on to the Google Play Store.
- [`releaseProd.yml`](.github/workflows/releaseProd.yml) - For deploying application (AAB) to the _production_ track on to the Google Play Store.## Fastlane config
#### - Fastfile
```ruby
desc "Lane for distributing app using Firebase App Distributions"
lane :distribute do
gradle(task: "clean assembleRelease")
firebase_app_distribution(
service_credentials_file: "firebase_credentials.json",
app: ENV['FIREBASE_APP_ID'],
release_notes_file: "FirebaseAppDistributionConfig/release_notes.txt",
groups_file: "FirebaseAppDistributionConfig/groups.txt"
)
end
desc "Deploy a beta version to the Google Play"
lane :beta do
gradle(task: "clean bundleRelease")
upload_to_play_store(track: 'beta', release_status: 'draft')
enddesc "Deploy a new version to the Google Play"
lane :production do
gradle(task: "clean bundleRelease")
upload_to_play_store(release_status: 'draft')
end
```## References
- [Fastlane](https://fastlane.tools/)
- [GitHub Actions CI/CD](https://github.com/features/actions)
- [Firebase App Distribution](https://firebase.google.com/docs/app-distribution)