Skip to content

Commit

Permalink
[ADD/#178] yaml에 keyStore 절대경로 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchbreeze committed Nov 30, 2024
1 parent a44e49a commit 70b3827
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/firebase_distribution_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,10 @@ jobs:
key_password: ${{ secrets.KEY_PASSWORD }}
key_alias: ${{ secrets.KEY_ALIAS }}
run: |
echo "storeFile=gentiKeyStore.jks" > keystore.properties
echo "storePassword=\"$store_password\"" >> keystore.properties
echo "keyAlias=\"$key_alias\"" >> keystore.properties
echo "keyPassword=\"$key_password\"" >> keystore.properties
echo "STORE_PASSWORD=${{ secrets.STORE_PASSWORD }}"
echo "KEY_ALIAS=${{ secrets.KEY_ALIAS }}"
echo "KEY_PASSWORD=${{ secrets.KEY_PASSWORD }}"
echo "storeFile=/home/runner/work/Genti-Android/Genti-Android/app/gentiKeyStore.jks" > keystore.properties
echo "storePassword=$store_password" >> keystore.properties
echo "keyAlias=$key_alias" >> keystore.properties
echo "keyPassword=$key_password" >> keystore.properties
- name: Verify keystore and properties
run: |
Expand Down
3 changes: 0 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ android {
val keystorePropertiesFile = rootProject.file("keystore.properties")
val keystoreProperties = Properties()
if (keystorePropertiesFile.exists()) {
println("keystore.properties 파일이 존재합니다: ${keystorePropertiesFile.absolutePath}")
keystoreProperties.load(keystorePropertiesFile.inputStream())
} else {
println("keystore.properties 파일이 존재하지 않습니다: ${keystorePropertiesFile.absolutePath}")
}
signingConfigs {
create("release") {
Expand Down

0 comments on commit 70b3827

Please sign in to comment.