Skip to content

Commit 08f3308

Browse files
Fix robolectric warning
1 parent 7627688 commit 08f3308

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.github/workflows/bintray_release.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ jobs:
1616
# The type of runner that the job will run on
1717
runs-on: ubuntu-latest
1818

19-
# Steps represent a sequence of tasks that will be executed as part of the job
2019
steps:
21-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v1
21+
- name: Set up JDK 1.8
22+
uses: actions/setup-java@v1
2323
with:
24-
ref: release
25-
26-
# Upload AAR to bintray
27-
- name: Upload AAR
28-
run: bash ./gradlew clean build install bintrayUpload -PbintrayUser=${{ secrets.BINTRAY_USER }} -PbintrayApiKey=${{ secrets.BINTRAY_API_KEY }}
24+
java-version: 1.8
25+
- name: Grant Permission to Execute
26+
run: chmod +x gradlew
27+
- name: Publish Library
28+
env:
29+
bintrayUser: ${{ secrets.BINTRAY_USER }}
30+
bintrayApiKey: ${{ secrets.BINTRAY_API_KEY }}
31+
run: ./gradlew clean build install bintrayUpload -PbintrayUser=${{ secrets.BINTRAY_USER }} -PbintrayApiKey=${{ secrets.BINTRAY_API_KEY }}

photoeditor/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ dependencies {
7373

7474
testImplementation 'junit:junit:4.12'
7575
testImplementation 'org.mockito:mockito-core:2.23.0'
76-
testImplementation 'org.robolectric:robolectric:4.3'
76+
testImplementation 'org.robolectric:robolectric:4.5.1'
7777
}
7878

7979
// Place it at the end of the file

0 commit comments

Comments
 (0)