Skip to content

Commit

Permalink
More GitHub actions work.
Browse files Browse the repository at this point in the history
  • Loading branch information
zond committed Mar 5, 2020
1 parent 945b29f commit 04c8f75
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- name: Build with Gradle
env:
KEYSTORE: signing.keystore
KEYSTORE_PASSWORD: ${{ secrets.keystorePassword }}
KEY_ALIAS: mykey
KEY_PASSWORD: ${{ secrets.keystorePassword }}
KEYSTORE_PASSWORD:
run: ./gradlew assembleRelease

16 changes: 8 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ android {

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
if (System.getenv("KEYSTORE") != null) {
signingConfigs {
release {
storeFile file(System.getenv("KEYSTORE"))
storePassword System.getenv("KEYSTORE_PASSWORD")
keyAlias System.getenv("KEY_ALIAS")
keyPassword System.getenv("KEY_PASSWORD")
}
if (System.getenv("KEYSTORE") != null) {
signingConfigs {
release {
storeFile file(System.getenv("KEYSTORE"))
storePassword System.getenv("KEYSTORE_PASSWORD")
keyAlias System.getenv("KEY_ALIAS")
keyPassword System.getenv("KEY_PASSWORD")
}
}
}
buildTypes {
release {
minifyEnabled false
Expand Down

0 comments on commit 04c8f75

Please sign in to comment.