Use the gradle plugin (same usage as in element-android) to standardise caching.

This may or may not speed up build times.
This commit is contained in:
Michael Kaye 2023-03-07 13:32:32 +00:00
parent 8f2b0314bf
commit 7e0a284669
3 changed files with 16 additions and 0 deletions

View file

@ -25,6 +25,10 @@ jobs:
uses: actions/checkout@v3
with:
lfs: 'true'
- name: Configure gradle
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
- name: ⚙️ Run unit & screenshot tests, generate kover report
run: ./gradlew koverMergedReport $CI_GRADLE_ARG_PROPERTIES -Pci-build=true