Skip to content

Commit

Permalink
gha test 4
Browse files Browse the repository at this point in the history
  • Loading branch information
bladecoder committed Feb 6, 2024
1 parent 2e1b217 commit d4728ae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gradle-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
with:
distribution: corretto
java-version: 17
- name: Generating debug keystore and SHA1 key
shell: powershell
run: |
keytool -genkey -keystore "%USERPROFILE%\.android\debug.keystore" -storepass android -alias android -keyalg RSA -keysize 4096 -validity 10000 -v
keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias android -storepass android -keypass android
- name: Build with Gradle
run: ./gradlew build
- name: Pass tests and checks
Expand Down
15 changes: 15 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,22 @@ android {
coreLibraryDesugaringEnabled true
}

if (project.hasProperty('keystore')) {
signingConfigs {
release {
storeFile file(project.keystore)
storePassword project.storePassword
keyAlias project.alias
keyPassword project.keyPassword
}
}

buildTypes {
release {
signingConfig signingConfigs.release
}
}
}

buildTypes {
release {
Expand Down

0 comments on commit d4728ae

Please sign in to comment.