Skip to content

Commit

Permalink
Merge pull request #71 from bsideproject/sun5066-patch-3
Browse files Browse the repository at this point in the history
Update ci.yml
  • Loading branch information
sun5066 authored Mar 3, 2024
2 parents 2d1eed0 + 208690c commit c5dfa90
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,29 @@ jobs:

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- run: echo $DEBUG_KEY | base64 -d > debug.keystore
- name: Create file
run: cat /home/runner/work/NGOL-Android/NGOL-Android/app/google-services.json | base64
- name: Putting data
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/NGOL-Android/NGOL-Android/app/google-services.json
- name: Setting Local Properties
env:
NAVER_BASE_URL: ${{ secrets.NAVER_BASE_URL }}
NAVER_CLIENT_ID: ${{ secrets.NAVER_CLIENT_ID }}
NAVER_CLIENT_SECRET: ${{ secrets.NAVER_CLIENT_SECRET }}
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
KAKAO_NATIVE_APP_KEY: ${{ secrets.KAKAO_NATIVE_APP_KEY }}
KAKAO_SCHME: ${{ secrets.KAKAO_SCHME }}
BASE_URL: ${{ secrets.BASE_URL }}
run: |
echo "NAVER_BASE_URL=\"NAVER_BASE_URL\"" >> local.properties
echo "NAVER_CLIENT_ID=\"NAVER_CLIENT_ID\"" >> local.properties
echo "NAVER_CLIENT_SECRET=\"NAVER_CLIENT_SECRET\"" >> local.properties
echo "GOOGLE_CLIENT_ID=\"GOOGLE_CLIENT_ID\"" >> local.properties
echo "KAKAO_NATIVE_APP_KEY=\"KAKAO_NATIVE_APP_KEY\"" >> local.properties
echo "KAKAO_SCHME=\"KAKAO_SCHME\"" >> local.properties
echo "BASE_URL=\"BASE_URL\"" >> local.properties
- name: Build with Gradle
run: ./gradlew build
run: ./gradlew assembleDebug
1 change: 0 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ android {
}
debug {
isMinifyEnabled = false
signingConfig = signingConfigs.getByName("releaseSigningConfig")
}
}

Expand Down

0 comments on commit c5dfa90

Please sign in to comment.