aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-12-31 20:57:38 +0530
committerAditya Wasan <adityawasan55@gmail.com>2019-12-31 20:57:38 +0530
commitd5a744bd37ec8c54d719552a813a82c636e43ed3 (patch)
treef2ebab86af9f0d0db41847a446309c952412b01d /.github
parentbfbbdecc0796fdd8e68b675e3fd8d26dd99a8d60 (diff)
Prepare for new Play Store listing (#602)
* Gradle cleanup * Update package name * Remove release APK from git This should have never been here * Move package name to dependencies.gradle * github: Setup caching for gradle * Update Play Store art * gradle: Use constraints API in place of deprecated force * Update dependencies * Raise minSdk to 23 * Target SDK 28 for now External storage handling changes are atrocious to support in this codebase so we'll be holding out as far as we can. * Revert "Opt into legacy external storage handling (#595)" Not needed on SDK 28 This reverts commit 3f249e4bffffe0ba30e7546735c7fb4576918c69. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/deploy_snapshot.yml5
-rw-r--r--.github/workflows/pull_request.yml8
2 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/deploy_snapshot.yml b/.github/workflows/deploy_snapshot.yml
index 110546b1..4c5bda07 100644
--- a/.github/workflows/deploy_snapshot.yml
+++ b/.github/workflows/deploy_snapshot.yml
@@ -17,6 +17,11 @@ jobs:
env:
ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }}
+ - uses: actions/cache@v1
+ with:
+ path: ~/.gradle/caches
+ key: gradle-${{ runner.os }}-${{ hashFiles('**/build.gradle') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/dependencies.gradle') }}
+
- name: Download gradle dependencies
run: ./gradlew dependencies
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index e158846c..283699b9 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -5,8 +5,16 @@ jobs:
test-pr:
runs-on: ubuntu-latest
steps:
+
- uses: actions/checkout@master
+
+ - uses: actions/cache@v1
+ with:
+ path: ~/.gradle/caches
+ key: gradle-${{ runner.os }}-${{ hashFiles('**/build.gradle') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/dependencies.gradle') }}
+
- run: ./gradlew spotlessCheck build test lintDebug -Dpre-dex=false
+
- uses: actions/upload-artifact@master
with:
name: Debug APK