You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor: Update Android CI workflow for enhanced build and release management
This commit refactors the Android CI workflow, introducing several improvements:
- **Environment Variables**: Sets environment variables for the application module, project name, and current date.
- **Version Extraction**: Extracts version information from `build.gradle.kts` and stores it as an environment variable.
- **JDK Setup**: Uses `actions/setup-java@v4` to set up JDK 11 with Gradle caching.
- **App Build**: Builds both debug and release APKs using Gradle.
- **Artifact Upload**: Uploads debug and release APKs as artifacts, with filenames including the date and project name.
- **Rename APK**: renames APKs by adding the app version, making them more identifiable.
- **GitHub Release**: Creates a GitHub release with the extracted version and uploads the renamed debug and release APKs to the release.
- **Workflow Trigger**: The workflow now triggers on pushes to the `main` branch and manual dispatches.
- **Remove Signing Android release:** Remove signing android release, due to key password should not be in the code.
0 commit comments