Skip to content

Commit

Permalink
Prepare google release api for cloud backups (#1549)
Browse files Browse the repository at this point in the history
* Prepare google release api for cloud backups

* Make CI happy
  • Loading branch information
valentunn authored Jun 20, 2024
1 parent a56dd8b commit 98bdb13
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ on:
required: true
DEBUG_GOOGLE_OAUTH_ID:
required: true
RELEASE_GOOGLE_OAUTH_ID:
required: true
# Special secrets for signing:
CI_MARKET_KEYSTORE_PASS:
required: false
Expand Down Expand Up @@ -93,6 +95,7 @@ env:
DWELLIR_API_KEY: ${{ secrets.DWELLIR_API_KEY }}
WALLET_CONNECT_PROJECT_ID: ${{ secrets.WALLET_CONNECT_PROJECT_ID }}
DEBUG_GOOGLE_OAUTH_ID: ${{ secrets.DEBUG_GOOGLE_OAUTH_ID }}
RELEASE_GOOGLE_OAUTH_ID: ${{ secrets.RELEASE_GOOGLE_OAUTH_ID }}

CI_MARKET_KEYSTORE_PASS: ${{ secrets.CI_MARKET_KEYSTORE_PASS }}
CI_MARKET_KEYSTORE_KEY_ALIAS: ${{ secrets.CI_MARKET_KEYSTORE_KEY_ALIAS }}
Expand Down
6 changes: 6 additions & 0 deletions feature-cloud-backup-impl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ android {
buildConfigField "String", "GOOGLE_OAUTH_ID", readStringSecret("DEBUG_GOOGLE_OAUTH_ID")
}

buildTypes {
release {
buildConfigField "String", "GOOGLE_OAUTH_ID", readStringSecret("RELEASE_GOOGLE_OAUTH_ID")
}
}

kotlinOptions {
jvmTarget = '1.8'
freeCompilerArgs = ["-Xcontext-receivers"]
Expand Down

0 comments on commit 98bdb13

Please sign in to comment.