diff --git a/.github/workflows/android-ci-workflow.yml b/.github/workflows/android-ci-workflow.yml index 574edcb7b..28de18ced 100644 --- a/.github/workflows/android-ci-workflow.yml +++ b/.github/workflows/android-ci-workflow.yml @@ -34,15 +34,15 @@ jobs: env: BASE_URL: ${{ secrets.APP_BASE_URL }} run: | - echo "APP_BASE_URL=\"BASE_URL\"" >> ./local.properties + echo "APP_BASE_URL=\"$BASE_URL\"" >> local.properties - name: Access KAKAO KEY env: APP_KEY: ${{ secrets.KAKAO_APP_KEY }} NATIVE_KEY: ${{ secrets.KAKAO_NATIVE_KEY }} run: | - echo "KAKAO_APP_KEY=\"APP_KEY\"" >> ./local.properties - echo "KAKAO_NATIVE_KEY=\"NATIVE_KEY\"" >> ./local.properties + echo "KAKAO_APP_KEY=\"$APP_KEY\"" >> local.properties + echo "KAKAO_NATIVE_KEY=\"$NATIVE_KEY\"" >> local.properties - name: set up Java JDK 17 uses: actions/setup-java@v3 diff --git a/android/domain/src/main/java/com/domain/edonymyeon/model/Email.kt b/android/domain/src/main/java/com/domain/edonymyeon/model/Email.kt index 7b65da54f..16c4bf659 100644 --- a/android/domain/src/main/java/com/domain/edonymyeon/model/Email.kt +++ b/android/domain/src/main/java/com/domain/edonymyeon/model/Email.kt @@ -5,7 +5,6 @@ value class Email private constructor(val value: String) { init { require(validate(value)) { ERROR_NEGATIVE_EMAIL } } - companion object { fun validate(value: String): Boolean = Regex(Email_REGEX).matches(value)