[FEAT/#294] μ ν리νλ μ΄λ²€νΈ μ¬κΈ° #444
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: TerningPoint 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 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 Local Properties | |
env: | |
BASE_URL: ${{ secrets.BASE_URL }} | |
TEST_BASE_URL: ${{ secrets.TEST_BASE_URL }} | |
NATIVE_APP_KEY: ${{ secrets.NATIVE_APP_KEY }} | |
NATIVEAPPKEY: ${{ secrets.NATIVEAPPKEY }} | |
RELEASE_KEY_ALIAS: ${{ secrets.RELEASE_KEY_ALIAS }} | |
RELEASE_KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }} | |
RELEASE_STORE_FILE: ${{ secrets.RELEASE_STORE_FILE }} | |
RELEASE_STORE_PASSWORD: ${{ secrets.RELEASE_STORE_PASSWORD }} | |
AMPLITUDE_DEV_KEY: ${{ secrets.AMPLITUDE_DEV_KEY }} | |
AMPLITUDE_PROD_KEY: ${{ secrets.AMPLITUDE_PROD_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=\"$NATIVEAPPKEY\" >> local.properties | |
echo release.keyAlias=\"$RELEASE_KEY_ALIAS\" >> local.properties | |
echo release.keyPassword=\"$RELEASE_KEY_PASSWORD\" >> local.properties | |
echo release.storeFile=\"$RELEASE_STORE_FILE\" >> local.properties | |
echo release.storePassword=\"$RELEASE_STORE_PASSWORD\" >> local.properties | |
echo amplitudeDevKey=\"$AMPLITUDE_DEV_KEY\" >> local.properties | |
echo amplitudeProdKey=\"$AMPLITUDE_PROD_KEY\" >> local.properties |