-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #373 from onaio/update-storage-permissions
Resolve permission location for higher android builds.
- Loading branch information
Showing
9 changed files
with
61 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,17 +22,17 @@ jobs: | |
- name: Cancel previous workflow runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Set up JDK 17 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
java-version: 11 | ||
|
||
- name: Create local.properties file | ||
run: touch local.properties && echo "mapbox.repo.token=${{ secrets.MAPBOX_SDK_REPO_TOKEN }}" >> local.properties | ||
|
@@ -55,15 +55,15 @@ jobs: | |
- name: Build project skipping tests | ||
run: ./gradlew build -x test --stacktrace | ||
|
||
- name: Run Instrumented Tests manually | ||
uses: reactivecircus/android-emulator-runner@v2 | ||
with: | ||
api-level: 22 | ||
script: ./gradlew :library:connectedDebug --stacktrace --info | ||
- name: Run unit tests with Gradle | ||
run: ./gradlew :library:clean :library:testDebugUnitTest --stacktrace | ||
# - name: Run Instrumented Tests manually | ||
# uses: reactivecircus/android-emulator-runner@v2 | ||
# with: | ||
# api-level: 22 | ||
# script: ./gradlew :library:connectedDebug --stacktrace --info | ||
# | ||
# - name: Run unit tests with Gradle | ||
# run: ./gradlew :library:clean :library:testDebugUnitTest --stacktrace | ||
|
||
- name: Generate & upload library snapshot artifact AAR (Android Archive) file | ||
run: ./gradlew :library:clean --stacktrace && ./gradlew :library:assembleRelease --stacktrace && ./gradlew :library:publishMavenJavaPublicationToMavenCentralRepository --stacktrace | ||
|
||
|
@@ -73,4 +73,4 @@ jobs: | |
- name: Github Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
prerelease: ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') }} | ||
prerelease: ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
/build | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters