[FEAT/#177] Google Play 결제 라이브러리 v7 인앱결제 구현 #96
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: Genti PR Checker | |
on: | |
pull_request: | |
branches: [ develop ] | |
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 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Change gradlew permissions | |
run: chmod +x ./gradlew | |
- name: Create Local Properties | |
run: touch local.properties | |
- name: Access Local Properties | |
env: | |
base_url: ${{ secrets.BASE_URL }} | |
test_base_url: ${{ secrets.TEST_BASE_URL }} | |
native_app_key: ${{ secrets.NATIVE_APP_KEY }} | |
amplitude_api_key: ${{ secrets.AMPLITUDE_API_KEY }} | |
amplitude_test_key: ${{ secrets.AMPLITUDE_TEST_KEY }} | |
run: | | |
echo "base.url=\"$base_url\"" >> local.properties | |
echo "test.base.url=\"$test_base_url\"" >> local.properties | |
echo "native.app.key=\"$native_app_key\"" >> local.properties | |
echo "nativeAppKey=\"$native_app_key\"" >> local.properties | |
echo "amplitude.api.key=\"$amplitude_api_key\"" >> local.properties | |
echo "amplitude.test.key=\"$amplitude_test_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 |