Skip to content

Commit

Permalink
Merge pull request #68 from boostcampwm2023/dev/and
Browse files Browse the repository at this point in the history
์›Œํฌํ”Œ๋กœ์šฐ ์ถœ์‹œ ๋…ธํŠธ ์ถ”๊ฐ€, Job ์ด๋ฆ„ ๋ณ€๊ฒฝ
  • Loading branch information
EunhoKang authored Nov 14, 2023
2 parents bc397b6 + 2d152c5 commit ba690a5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/firebase-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,36 @@ on:
- release # Only in release branch

jobs:
build:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: android
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'oracle'
java-version: '17'
cache: 'gradle'
- name: Generate Keystore
env:
KEYSTORE_B64: ${{ secrets.APP_KEYSTORE }}
run: |
echo $KEYSTORE_B64 > keystore_b64.txt
base64 --decode --ignore-garbage keystore_b64.txt > keystore.jks
working-directory: ./android/app

- name: Build Release APK
env:
SIGNING_KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
SIGNING_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: ./gradlew assembleRelease
working-directory: ./android

- name: Upload to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{ secrets.FIREBASE_APP_ID }}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: testers
file: app/release/app-release.apk
serviceCredentialsFileContent: ${{ secrets.FIREBASE_APP_DISTRIBUTION }}
groups: tester
releaseNotesFile: android/release_notes.txt
file: android/app/build/outputs/apk/release/app-release.apk
2 changes: 1 addition & 1 deletion .github/workflows/ktlint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: reviewdog_kotlin
name: Kotlin Lint Check
on:
pull_request:
paths:
Expand Down
15 changes: 8 additions & 7 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

signingConfigs {
release {
storeFile file("keystore.jks")
Expand All @@ -34,6 +27,14 @@ android {
}
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
Expand Down
Empty file added android/release_notes.txt
Empty file.

0 comments on commit ba690a5

Please sign in to comment.