From 581330203bd9d7279e87961b4dfc8798a6288c69 Mon Sep 17 00:00:00 2001 From: Thirfir Date: Thu, 24 Apr 2025 00:45:53 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20Build=20CI=20=EB=AC=B8=EB=B2=95=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/debug_build_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/debug_build_ci.yml b/.github/workflows/debug_build_ci.yml index 6ced41fcb..261ac31ab 100644 --- a/.github/workflows/debug_build_ci.yml +++ b/.github/workflows/debug_build_ci.yml @@ -22,7 +22,7 @@ jobs: - name: Add local.properties run: | - echo ${{ secrets.LOCAL_PROPERTIES }} >> ./local.properties + echo '${{ secrets.LOCAL_PROPERTIES }}' >> ./local.properties - name: Access Google-Service file run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./app/google-services.json From b84a2db0092fd0f7c3cee4da48bb019e3e4d4bef Mon Sep 17 00:00:00 2001 From: Thirfir Date: Thu, 24 Apr 2025 00:59:38 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=EC=9B=8C=ED=81=AC=ED=94=8C?= =?UTF-8?q?=EB=A1=9C=20=EB=A6=B4=EB=A6=AC=EC=A6=88=20=EB=85=B8=ED=8A=B8=20?= =?UTF-8?q?=EC=9E=85=EB=A0=A5=EC=B9=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 버전 입력칸 제거 --- .github/workflows/firebase_cd.yml | 34 ++++++------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/.github/workflows/firebase_cd.yml b/.github/workflows/firebase_cd.yml index de95b072e..8f29cb6c6 100644 --- a/.github/workflows/firebase_cd.yml +++ b/.github/workflows/firebase_cd.yml @@ -3,15 +3,9 @@ name: Firebase CD on: workflow_dispatch: inputs: - major: - description: 'Major version' - required: true - minor: - description: 'Minor version' - required: true - patch: - description: 'Patch version' - required: true + releaseNotes: + description: 'Release Notes' + required: false jobs: deploy: @@ -38,7 +32,7 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - - name: Save Keystore + - name: Decode and save Keystore run: | echo "${{ secrets.JKS_BASE64 }}" > keystore.b64 base64 -d -i keystore.b64 > keystore.jks @@ -51,31 +45,15 @@ jobs: - name: Access Google-Service file run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./app/google-services.json - - - name: Debug - Check keystore file size - run: ls -lh keystore.jks - - - name: Debug - Check SHA256 of keystore - run: sha256sum keystore.jks - - - name: Debug - Check local.properties - run: cat local.properties - name: Build with Gradle run: ./gradlew assembleRelease - - name: Rename APK file - run: | - major=${{ github.event.inputs.major }} - minor=${{ github.event.inputs.minor }} - patch=${{ github.event.inputs.patch }} - formatted_version="${major}_${minor}_${patch}" - mv app/build/outputs/apk/release/app-release.apk app/build/outputs/apk/release/Acon-${formatted_version}.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: Acon - file: app/build/outputs/apk/release/Acon-${{ github.event.inputs.major }}_${{ github.event.inputs.minor }}_${{ github.event.inputs.patch }}.apk + releaseNotes: ${{ github.event.inputs.releaseNotes }} + file: app/build/outputs/apk/release/app-release.apk