Skip to content

Commit

Permalink
Fix signins
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Jun 13, 2024
1 parent 34e265c commit 4083779
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
echo "$GOOGLE_SERVICES_JSON" > app/src/google-services.json
mkdir ~/Downloads
echo "$KEYSTORE"|base64 -di > ~/Downloads/itag.one.river0.keystore
echo "$KEYSTORE"|base64 -di > app/itag.one.river0.keystore
./gradlew bundleRelease
- name: Upload AAB artifact
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ itag-fastlane-api.json
session.vim
.idea/
waytoday/src/main/java/s4y/waytoday/wsse/Secret.java
.session.vim
.session.vim
*.keystore
19 changes: 10 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ android {
buildConfigField "String", "WAYTODAY_SECRET", "\"${System.getenv('WAYTODAY_SECRET') ?: properties.getProperty('waytoday.secret')}\""
}

signingConfigs {
release {
storeFile = file("itag.one.river0.keystore")
storePassword System.getenv("SIGNING_STORE_PASSWORD")
keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
}
}

buildTypes {
debug {
minifyEnabled false
Expand All @@ -35,6 +44,7 @@ android {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
manifestPlaceholders = [analytics_deactivated: "true"]
signingConfig signingConfigs.release
}
}
compileOptions {
Expand All @@ -53,15 +63,6 @@ android {
}
}

signingConfigs {
release {
storeFile = file("~/Download/itag.one.river0.keystore")
storePassword System.getenv("SIGNING_STORE_PASSWORD")
keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
}
}

}

dependencies {
Expand Down

0 comments on commit 4083779

Please sign in to comment.