diff --git a/.github/actions/build_android/action.yml b/.github/actions/build_android/action.yml index 33a34f39..01a7f7d8 100644 --- a/.github/actions/build_android/action.yml +++ b/.github/actions/build_android/action.yml @@ -45,7 +45,7 @@ runs: ANDROID_KEY_JKS: ${{ inputs.android-key-jks }} - name: Build APK shell: bash - run: flutter build apk --build-number="$BUILD_NUMBER" --build-name="$VERSION" --dart-define=SENTRY_DSN="$SENTRY_DSN" --dart-define=cronetHttpNoPlay=true + run: flutter build apk --split-debug-info=./symbols --obfuscate --build-number="$BUILD_NUMBER" --build-name="$VERSION" --dart-define=SENTRY_DSN="$SENTRY_DSN" --dart-define=cronetHttpNoPlay=true env: VERSION: ${{ inputs.version }} BUILD_NUMBER: ${{ inputs.build-number }} @@ -56,7 +56,7 @@ runs: #SENTRY_URL: ${{ inputs.sentry-url }} - name: Build AppBundle shell: bash - run: flutter build appbundle --build-number="$BUILD_NUMBER" --build-name="$VERSION" --dart-define=SENTRY_DSN="$SENTRY_DSN" --dart-define=cronetHttpNoPlay=true + run: flutter build appbundle --split-debug-info=./symbols --obfuscate --build-number="$BUILD_NUMBER" --build-name="$VERSION" --dart-define=SENTRY_DSN="$SENTRY_DSN" --dart-define=cronetHttpNoPlay=true env: VERSION: ${{ inputs.version }} BUILD_NUMBER: ${{ inputs.build-number }}