Skip to content

Commit 0b56f7c

Browse files
Update release version and undo finish activity.
Signed-off-by: Lentumunai-Mark <[email protected]>
1 parent 724ffbd commit 0b56f7c

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

.github/workflows/library.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ jobs:
2222
- name: Cancel previous workflow runs
2323
uses: styfle/[email protected]
2424
with:
25-
access_token: ${{ github.token }}
25+
access_token: ${{ github.token }}
2626

2727
- name: Checkout 🛎️
2828
uses: actions/checkout@v2
2929
with:
3030
fetch-depth: 2
3131

32-
- name: Set up JDK 17
32+
- name: Set up JDK 11
3333
uses: actions/setup-java@v1
3434
with:
35-
java-version: 17
35+
java-version: 11
3636

3737
- name: Create local.properties file
3838
run: touch local.properties && echo "mapbox.repo.token=${{ secrets.MAPBOX_SDK_REPO_TOKEN }}" >> local.properties
@@ -54,7 +54,16 @@ jobs:
5454

5555
- name: Build project skipping tests
5656
run: ./gradlew build -x test --stacktrace
57-
57+
58+
# - name: Run Instrumented Tests manually
59+
# uses: reactivecircus/android-emulator-runner@v2
60+
# with:
61+
# api-level: 22
62+
# script: ./gradlew :library:connectedDebug --stacktrace --info
63+
#
64+
# - name: Run unit tests with Gradle
65+
# run: ./gradlew :library:clean :library:testDebugUnitTest --stacktrace
66+
5867
- name: Generate & upload library snapshot artifact AAR (Android Archive) file
5968
run: ./gradlew :library:clean --stacktrace && ./gradlew :library:assembleRelease --stacktrace && ./gradlew :library:publishMavenJavaPublicationToMavenCentralRepository --stacktrace
6069

@@ -64,4 +73,4 @@ jobs:
6473
- name: Github Release
6574
uses: softprops/action-gh-release@v1
6675
with:
67-
prerelease: ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') }}
76+
prerelease: ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') }}

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ apply plugin: 'realm-android'
1515
apply plugin: 'com.jfrog.bintray'
1616
apply plugin: 'maven-publish'
1717

18-
version '0.10.3-QA-SNAPSHOT'
18+
version '0.10.4-SNAPSHOT'
1919

2020
project.version = this.version
2121

library/src/main/java/io/ona/kujaku/utils/KujakuMultiplePermissionListener.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ public void onPermissionsChecked(MultiplePermissionsReport report) {
3434
@Override public void onClick(DialogInterface dialog, int which) {
3535
dialog.dismiss();
3636

37-
if (context instanceof Activity) {
38-
((Activity) context).finish();
39-
}
4037
}
4138
})
4239
.show();

0 commit comments

Comments
 (0)