Skip to content

Conversation

@graycreate
Copy link
Member

Summary

  • Fixed the release workflow failure by properly reading environment variables in build.gradle
  • Changed from project.hasProperty() to System.getenv() for CI/CD environment detection
  • GitHub Actions passes secrets as environment variables, not Gradle properties

Context

The release workflow was failing with:

Release builds require signing configuration. Please provide GHUI_KEYSTORE_PASSWORD and GHUI_KEY_PASSWORD.

This was because the build.gradle was checking for Gradle properties, but GitHub Actions sets environment variables.

Test Plan

  • CI workflow should pass and build signed APKs
  • Release workflow should successfully create releases
  • Local builds should still work as before

🤖 Generated with Claude Code

- Change from project.hasProperty() to System.getenv() for CI/CD environment
- GitHub Actions passes secrets as environment variables, not Gradle properties
- This fixes the 'Release builds require signing configuration' error in CI

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@graycreate graycreate merged commit bcb904e into main Jul 9, 2025
3 of 5 checks passed
@graycreate graycreate deleted the bugfix/ci-signing-env-vars branch July 9, 2025 15:21
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