[HOTFIX/#460] 상점뷰 / 보상형 admob 서버 응답 시간 조정 #484
This file contains 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: YELLO PR Checker | |
on: | |
pull_request: | |
branches: [ develop, production ] | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
jobs: | |
build: | |
name: PR Checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Gradle cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: set up JDK 18 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 18 | |
- name: Change gradlew permissions | |
run: chmod +x ./gradlew | |
- name: Create Local Properties | |
run: touch local.properties | |
- name: Access Firebase Service | |
run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./app/google-services.json | |
- name: Access Local Properties | |
env: | |
base_url: ${{ secrets.BASE_URL }} | |
test_base_url: ${{ secrets.TEST_BASE_URL }} | |
native_app_key: ${{ secrets.NATIVE_APP_KEY }} | |
test_native_app_key: ${{ secrets.TEST_NATIVE_APP_KEY }} | |
amplitude_api_key: ${{ secrets.AMPLITUDE_API_KEY }} | |
amplitude_api_test_key: ${{ secrets.AMPLITUDE_API_TEST_KEY }} | |
admob_app_id: ${{ secrets.ADMOB_APP_ID }} | |
admob_reward_key: ${{ secrets.ADMOB_REWARD_KEY }} | |
admob_fullscreen_key: ${{ secrets.ADMOB_FULLSCREEN_KEY }} | |
run: | | |
echo base.url=\"$base_url\" >> local.properties | |
echo native.app.key=\"$native_app_key\" >> local.properties | |
echo nativeAppKey=$native_app_key >> local.properties | |
echo test.base.url=\"$test_base_url\" >> local.properties | |
echo test.native.app.key=\"$test_native_app_key\" >> local.properties | |
echo testNativeAppKey=$test_native_app_key >> local.properties | |
echo amplitude.api.key=$amplitude_api_key >> local.properties | |
echo amplitude.api.test.key=$amplitude_api_test_key >> local.properties | |
echo admobAppId=$admob_app_id >> local.properties | |
echo admob.reward.key=\"$admob_reward_key\" >> local.properties | |
echo test.admob.reward.key=\"$admob_reward_key\" >> local.properties | |
echo admob.fullscreen.key=\"$admob_fullscreen_key\" >> local.properties | |
echo test.admob.fullscreen.key=\"$admob_fullscreen_key\" >> local.properties | |
- name: Access Firebase Service | |
run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./app/google-services.json | |
- name: Build debug APK | |
run: ./gradlew assembleDebug --stacktrace | |
# - name: On Success | |
# if: ${{ success() }} | |
# uses: rtCamp/action-slack-notify@v2 | |
# env: | |
# SLACK_COLOR: '#53A551' | |
# SLACK_ICON: https://avatars.githubusercontent.com/u/137089215?s=48&v=4 | |
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
# SLACK_TITLE: 'YELLO/PR Check S.U.C.C.E.S.S 🎉🎉🎉' | |
# MSG_MINIMAL: true | |
# SLACK_USERNAME: YELLO_ANDROID | |
# SLACK_MESSAGE: 'P R 성 공!!! 🎉🎉🎉 조와~쒀' | |
# - name: On Failed, Notify in Slack | |
# if: ${{ failure() }} | |
# uses: rtCamp/action-slack-notify@v2 | |
# env: | |
# SLACK_COLOR: '#ff0000' | |
# SLACK_ICON: https://avatars.githubusercontent.com/u/137089215?s=48&v=4 | |
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
# SLACK_TITLE: 'YELLO/Android Debug build Fail❌' | |
# MSG_MINIMAL: true | |
# SLACK_USERNAME: YELLO_ANDROID | |
# SLACK_MESSAGE: '에러ㅋㅋㅋㅋㅋ났네ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ' |