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 eb84dd0f33
commit f246dd1ea4
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