From 61cf43f9f0e8d8fa0ef53082058a10cc29144b0f Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Mon, 16 Dec 2024 04:56:06 +0300 Subject: [PATCH] workflow --- .github/workflows/main.yml | 8 +++++++- .github/workflows/publish.yml | 24 ++++++++++++++++++++++-- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c073cac..66e032d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -155,11 +155,17 @@ jobs: name: mapping-file path: app-release/app/build/outputs/mapping/release/mapping.txt + - name: Compress Debug Symbols + run: | + mkdir -p ./artifacts + zip -r ./artifacts/debug-symbols.zip app-release/app/build/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib + - name: Upload Debug Symbols uses: actions/upload-artifact@v4 with: name: debug-symbols - path: app-release/app/intermediates/merged_native_libs/release/out/lib + path: ./artifacts/debug-symbols.zip + diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e8cc6b9..a7930bf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,11 +11,29 @@ jobs: uses: actions/checkout@v4 - name: Download Signed AAB - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v2 with: name: signed-aab path: ./release + - name: Extract Signed AAB + run: unzip ./release/signed-aab.zip -d ./release/signed-aab + + - name: Download Mapping File + uses: actions/download-artifact@v4 + with: + name: mapping-file + path: ./release/mapping + + - name: Extract Signed AAB + run: unzip ./release/mapping-file.zip -d ./release/mapping + + - name: Download Debug Symbols + uses: actions/download-artifact@v4 + with: + name: debug-symbols + path: ./release/symbols + - name: List Downloaded Files run: ls -l ./release @@ -35,7 +53,9 @@ jobs: with: serviceAccountJson: ${{ secrets.SERVICE_ACCOUNT_JSON }} packageName: "org.askartv.tv" - releaseFiles: "./release/*" + releaseFiles: "./release/signed-aab/*" + mappingFile: "./release/mapping/mapping.txt" + debugSymbols: "./release/symbols" track: "production" releaseStatus: "completed" whatsNew: ${{ env.WHATS_NEW }}