From 653179485f03ef7ce88ed9f91b7294cc004fecb2 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Mon, 7 Apr 2025 22:22:04 +0800 Subject: [PATCH] chore(mobile): upload android aab --- .github/workflows/build-eas-android.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build-eas-android.yml b/.github/workflows/build-eas-android.yml index 6a807e17c..30baeaccf 100644 --- a/.github/workflows/build-eas-android.yml +++ b/.github/workflows/build-eas-android.yml @@ -71,8 +71,17 @@ jobs: run: eas build --platform android --profile ${{ github.event.inputs.profile || 'preview' }} --local --output=${{ github.workspace }}/build.apk - name: 📤 Upload apk Artifact + if: github.event.inputs.profile != 'production' uses: actions/upload-artifact@v4 with: name: app-android path: ${{ github.workspace }}/build.apk retention-days: 90 + + - name: 📤 Upload aab Artifact + if: github.event.inputs.profile == 'production' + uses: actions/upload-artifact@v4 + with: + name: aab-android + path: ${{ github.workspace }}/build.aab + retention-days: 90