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