Skip to content

Commit 3b6c3eb

Browse files
committed
Update sample build
1 parent c257b9c commit 3b6c3eb

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/build_sample.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,16 @@ jobs:
3030
- name: Validate Gradle wrapper
3131
uses: gradle/[email protected]
3232

33-
3433
- name: Decrypt the keystore for signing
3534
run: |
3635
echo "${{ secrets.KEYSTORE_ENCRYPTED }}" > keystore.asc
3736
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.asc > keystore.jks
3837
38+
- name: Download and extract `ark-core` JNI libs
39+
run: |
40+
wget https://github.com/ARK-Builders/ark-core/releases/download/v1.0.0/jniLibs.zip
41+
unzip -d sample/src/main jniLibs.zip
42+
3943
- name: Build release sample APK
4044
run: ./gradlew sample:assembleRelease
4145

sample/build.gradle.kts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,4 @@ dependencies {
8080
testImplementation(libraries.junit)
8181
androidTestImplementation(libraries.androidx.test.junit)
8282
androidTestImplementation(libraries.androidx.test.espresso)
83-
runtimeOnly(
84-
fileTree(
85-
mapOf(
86-
"dir" to "src/main/jniLibs",
87-
)
88-
)
89-
)
90-
}
83+
}

0 commit comments

Comments
 (0)