[UI/#95] 로그인, 약관동의 화면 리디자인 변경사항 반영 #176
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android Develop branch CI | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out repository | |
uses: actions/checkout@v4 | |
- name: Decode Keystore | |
env: | |
RELEASE_STORE_BASE_64: ${{ secrets.RELEASE_STORE_BASE_64 }} | |
run: | | |
echo $RELEASE_STORE_BASE_64 > encoded_keystore.txt | |
base64 --decode encoded_keystore.txt > release.jks | |
- name: Generate local.properties | |
env: | |
KAKAO_NATIVE_APP_KEY: ${{ secrets.KAKAO_NATIVE_APP_KEY }} | |
BITNAGIL_DEV_URL: ${{ secrets.BITNAGIL_DEV_URL }} | |
BITNAGIL_PROD_URL: ${{ secrets.BITNAGIL_PROD_URL }} | |
RELEASE_KEY_ALIAS: ${{ secrets.RELEASE_KEY_ALIAS }} | |
RELEASE_KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }} | |
RELEASE_STORE_PASSWORD: ${{ secrets.RELEASE_STORE_PASSWORD }} | |
run: | | |
echo "kakao.native.app.key=$KAKAO_NATIVE_APP_KEY" >> local.properties | |
echo "bitnagil.dev.url=$BITNAGIL_DEV_URL" >> local.properties | |
echo "bitnagil.prod.url=$BITNAGIL_PROD_URL" >> local.properties | |
echo "release.key.alias=$RELEASE_KEY_ALIAS" >> local.properties | |
echo "release.key.password=$RELEASE_KEY_PASSWORD" >> local.properties | |
echo "release.keystore.password=$RELEASE_STORE_PASSWORD" >> local.properties | |
echo "release.keystore.path=../release.jks" >> local.properties | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Run ktlint | |
run: ./gradlew ktlintCheck | |
- name: Run unit tests | |
run: ./gradlew testDebugUnitTest | |
- name: Build with Gradle | |
run: ./gradlew assembleDebug |