diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2472e1f3..3f66ca07 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -14,7 +14,14 @@ android { signingConfigs { create("release") { - val propertiesFile = project.file("keystore.properties") + val propertiesFilePath = if (System.getenv("GITHUB_ACTIONS") == "true") { + // GitHub Actions 워크스페이스 경로 + "/home/runner/work/BandalArt-Android/BandalArt-Android/keystore.properties" + } else { + // 로컬 빌드 시의 경로 + "keystore.properties" + } + val propertiesFile = File(propertiesFilePath) val properties = Properties() properties.load(propertiesFile.inputStream()) storeFile = file(properties["STORE_FILE"] as String)