Skip to content

Commit 1eca506

Browse files
committed
ci(temp): Publish sentry-native-ndk-outproc from the API 21 branch
DO NOT MERGE (revert after releasing getsentry/sentry-native#2301) `SentryNdk.createCrashShm(String)` is not in a sentry-native release yet. Build `sentry-native-ndk-outproc` from the sentry-native branch and publish it to Maven Local under a version that Maven Central does not have, so that Gradle resolves the local build.
1 parent 397fe29 commit 1eca506

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

‎.github/workflows/build.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ jobs:
3030
- name: Setup Gradle
3131
uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
3232

33+
# DO NOT MERGE (remove after releasing getsentry/sentry-native#2301)
34+
- name: Checkout sentry-native
35+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
36+
with:
37+
repository: getsentry/sentry-native
38+
ref: jpnurmi/fix/native-android-21
39+
path: sentry-native
40+
submodules: 'recursive'
41+
42+
# DO NOT MERGE (remove after releasing getsentry/sentry-native#2301)
43+
- name: Publish sentry-native-ndk-outproc to Maven Local
44+
working-directory: sentry-native/ndk
45+
run: ./gradlew --no-daemon -PversionName=0.0.0-local :sentry-native-ndk-outproc:publishToMavenLocal
46+
3347
- name: Run Tests and Lint
3448
run: make preMerge
3549

‎gradle/libs.versions.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ reactor-core = { module = "io.projectreactor:reactor-core", version = "3.5.3" }
197197
retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
198198
retrofit-gson = { module = "com.squareup.retrofit2:converter-gson", version.ref = "retrofit" }
199199
sentry-native-ndk = { module = "io.sentry:sentry-native-ndk", version = "0.17.6" }
200-
sentry-native-ndk-outproc = { module = "io.sentry:sentry-native-ndk-outproc", version = "1.0.0-beta.1" }
200+
sentry-native-ndk-outproc = { module = "io.sentry:sentry-native-ndk-outproc", version = "0.0.0-local" }
201201
servlet-api = { module = "javax.servlet:javax.servlet-api", version = "3.1.0" }
202202
servlet4-api = { module = "javax.servlet:javax.servlet-api", version = "4.0.1" }
203203
servlet-jakarta-api = { module = "jakarta.servlet:jakarta.servlet-api", version = "6.1.0" }

0 commit comments

Comments
 (0)