Skip to content

Commit

Permalink
베타버전으로 빌드되는지 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
murjune committed Oct 23, 2024
1 parent 0b38671 commit 6816661
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 26 deletions.
52 changes: 27 additions & 25 deletions .github/workflows/Android_Release_CD.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Android PR Builder
name: Android Release New Version 🎉

on:
push:
tags:
- "v*.*.*"

jobs:
CI_Android_Release:
uses: ./.github/workflows/Android_Release_CI.yml
secrets: inherit
# CI_Android_Release:
# uses: ./.github/workflows/Android_Release_CI.yml
# secrets: inherit

Distribution_To_PlayStore:
name: CD Release Builder
runs-on: ubuntu-latest
needs: [ CI_Android_Release ]
# needs: [ CI_Android_Release ]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -77,39 +77,41 @@ jobs:
env:
KEY_STORE: ${{secrets.RELEASE_KEY_STORE}}
run: |
touch ./keystore/poke_key.jks
echo "$KEY_STORE" | base64 -d > ./keystore/poke_key.jks
touch ./keystore/poke_key.keystore
echo "$KEY_STORE" | base64 -d > ./keystore/poke_key.keystore
working-directory: android

- name: Grant execute permission for gradlew
run: chmod +x gradlew
working-directory: android

- name: Build Release APK
run: ./gradlew assembleRelease
working-directory: android

- name: Upload Release Build to Artifacts
uses: actions/upload-artifact@v3
with:
name: release-artifacts
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/app-release.apk
# - name: Build Release APK
# run: ./gradlew assembleRelease
# working-directory: android
#
# - name: Upload Release Build to Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: release-artifacts
# 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/app-release.apk

- name: Build release aab
run: ./gradlew bundleRelease
working-directory: android

- name: Upload artifact to Google Play Store
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: poke.rogue.helper
releaseFiles: android/app/build/outputs/bundle/release/app-release.aab
track: production
track: internal
status: draft
2 changes: 1 addition & 1 deletion android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {
create("release") {
keyAlias = properties.getProperty("KEY_ALIAS")
keyPassword = properties.getProperty("KEY_PASSWORD")
storeFile = file("${project.rootDir.absolutePath}/keystore/poke_key.jks")
storeFile = file("${project.rootDir.absolutePath}/keystore/poke_key.store")
storePassword = properties.getProperty("STORE_PASSWORD")
}
}
Expand Down
1 change: 1 addition & 0 deletions android/key.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MIIJ2gIBAzCCCYQGCSqGSIb3DQEHAaCCCXUEgglxMIIJbTCCBbQGCSqGSIb3DQEHAaCCBaUEggWhMIIFnTCCBZkGCyqGSIb3DQEMCgECoIIFQDCCBTwwZgYJKoZIhvcNAQUNMFkwOAYJKoZIhvcNAQUMMCsEFN5dMeuvVqZM74gh0w5enpoe8M6bAgInEAIBIDAMBggqhkiG9w0CCQUAMB0GCWCGSAFlAwQBKgQQPTEatUQepsHl25M3BiRH6wSCBNDFWSjflojRo6gs4s1yFxEvNdoaQKHjw69tHfsqjJQQbNTWlIOXqxFj305zxWNGfgsjxC2egn34zbO/AOQpYrSiw9CD3Jd46hzscIo2QJWPDKjfv/RETC8T7UQqCOJ/exZevuVNn0d4jf4Z3A388HqxMs+5Sqp5AAP220mybEh20j3zvbyyr+HnyE2bbX6qVjRHQ5MC8IjQYeYmBj0j8GJEf9MbHApITrMppIIfPZGKlDsUiarGVB044ZS+wUCgSdjz/0inOqxluRueolt0CqqmDGZLEVfLRiijhoXULoBDZTa1DCn7K1POb+Von33RWY9Fr9WOyy7FHyHLfsGquLhrs6FB1BVuxBOCQNNiEqouPF/+ZNm30II1BfKvQRb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vq60nKe0AA7xWVYRpN15RrTkTe6utB8mkbVn1ySd/3kzVYca3hFwZlja8ftqspZNvyfXTca/z/yxnMxeqT7zms/4d+nbfDH0ALaBC+XqQ7f0D+5BxFj+JEXPotfVg9IvB9GfrlyQtW8hNe2ShDGTP36TfVcP1pd7S7XR8t8QJTSCRBT0S/hX1BYS+p3BFPYmWnWfBvEcgcROqmTEsFdVpIhHUfT1AM3Fus6BQZmc9clpLh9M8AVQbAvPhONpHpGFACztk0dRh0K86T4hTuBV16FR2578AzeAxigYJYDZnLNpT8zZcAuxy/7SlSxUqtNQv5BcSWIf3eVofVLpIwWYEr9Kzj53MXc6J4Gf62GKn3GGKNICShS8aodwQYZsj6fO1l0B/NVTzSv2gWAFzT02UdWmINqKxKHkfBVoCT0Bp8oSaB8pFAokyQwTTAxMA0GCWCGSAFlAwQCAQUABCCRoAgM4Te0WEb1VKNz4TKToE4497Cbs5wAAl5LOoW0NAQUsanHZALoUt49KaGGBefMpRYKM/QCAicQ

0 comments on commit 6816661

Please sign in to comment.