[feature/remove-databinding] Data Binding 라이브러리와 kapt 플러그인 제거 #619
Workflow file for this run
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: Makers PR Builder | |
on: | |
pull_request: | |
branches: [ develop, master ] | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
jobs: | |
build: | |
name: PR Checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- 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: Add Local Properties | |
env: | |
API_KEY: ${{ secrets.SENTRY_DSN }} | |
DATA_STORE_KEY: ${{ secrets.SENTRY_DSN }} | |
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | |
SOPT_DEV_OPERATION_BASE_URL: ${{ secrets.SOPT_DEV_OPERATION_BASE_URL }} | |
SOPT_OPERATION_BASE_URL: ${{ secrets.SOPT_OPERATION_BASE_URL }} | |
DEV_API: ${{ secrets.SENTRY_DSN }} | |
NEW_API: ${{ secrets.SENTRY_DSN }} | |
KEY_ALIAS: ${{ secrets.SENTRY_DSN }} | |
KEY_PASSWORD: ${{ secrets.SENTRY_DSN }} | |
STORE_PASSWORD: ${{ secrets.SENTRY_DSN }} | |
DEV_AMPLITUDE_KEY: ${{ secrets.SENTRY_DSN }} | |
AMPLITUDE_KEY: ${{ secrets.SENTRY_DSN }} | |
run: | | |
echo sentryDsn=\"$SENTRY_DSN\" >> ./local.properties | |
echo apiKey=\"$API_KEY\" >> ./local.properties | |
echo dataStoreKey=\"$DATA_STORE_KEY\" >> ./local.properties | |
echo devOperationApi=\"$SOPT_DEV_OPERATION_BASE_URL\" >> ./local.properties | |
echo operationApi=\"$SOPT_OPERATION_BASE_URL\" >> ./local.properties | |
echo devApi=\"$DEV_API\" >> ./local.properties | |
echo newApi=\"$NEW_API\" >> ./local.properties | |
echo keyAlias=\"KEY_ALIAS\" >> ./local.properties | |
echo keyPassword=\"KEY_PASSWORD\" >> ./local.properties | |
echo storePassword=\"STORE_PASSWORD\" >> ./local.properties | |
echo devAmplitudeKey=\"$DEV_AMPLITUDE_KEY\" >> ./local.properties | |
echo amplitudeKey=\"$AMPLITUDE_KEY\" >> ./local.properties | |
- name: Access Firebase Service | |
run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./app/google-services.json | |
# - name: Lint Check | |
# run: ./gradlew ktlintCheck --exclude '**/*.kts' src | |
- name: Build debug APK | |
run: ./gradlew assembleDebug --stacktrace |