Skip to content

Commit

Permalink
Merge pull request #135 from boostcampwm2023/android/feature/cd
Browse files Browse the repository at this point in the history
Android Firbase App 배포 자동화
  • Loading branch information
youlalala authored Nov 21, 2023
2 parents 980fb56 + 9d0c5af commit e02b6ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/android-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,20 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: release-artifacts
path: ./android/app/build/outputs/apk/release/
path: android/app/build/outputs/apk/release/
if-no-files-found: error

- name: Create Github Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
./android/app/build/outputs/apk/release/*.apk
android/app/build/outputs/apk/release/app-release.apk
- name: Upload artifact 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: android/app/build/outputs/apk/release/app-release.apk
2 changes: 1 addition & 1 deletion android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android {
minSdk = 26
targetSdk = 33
versionCode = 1
versionName = "1.0.0"
versionName = "0.0.1"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down

0 comments on commit e02b6ca

Please sign in to comment.