diff --git a/.github/workflows/distribute_app_to_play_store.yml b/.github/workflows/distribute_app_to_play_store.yml index 1fb014e..9f9104a 100644 --- a/.github/workflows/distribute_app_to_play_store.yml +++ b/.github/workflows/distribute_app_to_play_store.yml @@ -51,6 +51,13 @@ jobs: - name: Rename artifacts run: mv app/bundle/releaseMarket/app-releaseMarket.aab app/bundle/releaseMarket/pezkuwi-wallet-android-${{ github.event.inputs.app_version }}.aab + - name: Check for native debug symbols + id: check-symbols + run: | + if [ -f "app/native-debug-symbols/releaseMarket/native-debug-symbols.zip" ]; then + echo "path=app/native-debug-symbols/releaseMarket/native-debug-symbols.zip" >> $GITHUB_OUTPUT + fi + - name: Market publication uses: r0adkll/upload-google-play@v1 with: @@ -62,3 +69,4 @@ jobs: inAppUpdatePriority: 2 whatsNewDirectory: distribution/whatsnew mappingFile: app/mapping/releaseMarket/mapping.txt + debugSymbols: ${{ steps.check-symbols.outputs.path }} diff --git a/bindings/hydra-dx-math/rust/Cargo.toml b/bindings/hydra-dx-math/rust/Cargo.toml index 0be8353..b622dca 100644 --- a/bindings/hydra-dx-math/rust/Cargo.toml +++ b/bindings/hydra-dx-math/rust/Cargo.toml @@ -15,7 +15,7 @@ hydra-dx-math = { git = "https://github.com/galacticcouncil/HydraDX-node", versi jni = { version = "0.17.0", default-features = false } [profile.release] -strip = true +strip = "debuginfo" lto = true opt-level = "s" diff --git a/bindings/metadata_shortener/rust/Cargo.toml b/bindings/metadata_shortener/rust/Cargo.toml index af00aad..3da988c 100644 --- a/bindings/metadata_shortener/rust/Cargo.toml +++ b/bindings/metadata_shortener/rust/Cargo.toml @@ -14,7 +14,7 @@ frame-metadata = { version = "16.0.0", features = [ "current" ] } codec = { package = "parity-scale-codec", version = "3.6.9", features = [ "derive" ] } [profile.release] -strip = true +strip = "debuginfo" lto = true opt-level = "s" diff --git a/bindings/sr25519-bizinikiwi/rust/Cargo.toml b/bindings/sr25519-bizinikiwi/rust/Cargo.toml index 7022857..4c2955c 100644 --- a/bindings/sr25519-bizinikiwi/rust/Cargo.toml +++ b/bindings/sr25519-bizinikiwi/rust/Cargo.toml @@ -11,7 +11,7 @@ jni = { version = "0.21", default-features = false } zeroize = "1.7" [profile.release] -strip = true +strip = "debuginfo" lto = true opt-level = "s"