Skip to content

Conversation

@luckyabsoluter
Copy link

This pull request updates the GitHub Actions workflow for building the Android project. The main improvements include upgrading to newer action versions, improving dependency management, and enhancing the build environment setup for better reliability and performance.

CI/CD workflow modernization and improvements:

  • Upgraded actions/checkout to v6 and enabled recursive submodule checkout, specifying a particular branch (dependency-workaround) for improved dependency handling.
  • Replaced the old submodule checkout action (srt32/git-actions) with the built-in actions/checkout submodule support, simplifying the workflow.
  • Upgraded actions/setup-java to v5, switched to the Temurin distribution, enabled Gradle caching, and improved version specification for more consistent Java setup.
  • Added a dedicated step to set up the Android NDK using nttld/setup-ndk@v1, with local caching and explicit versioning, and configured the build environment to use the NDK path.
  • Updated the Gradle build step to ensure the wrapper is executable and switched the build variant from assembleRelease to assembleDebug for development builds.
  • Upgraded actions/upload-artifact to v6 and refined the artifact path to only

@didiaodanding
Copy link

didiaodanding commented Feb 11, 2026 via email

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.

2 participants