Extend CI Gradle caching and performance parameters

A lot of default Gradle parameters are unoptimal for the best performance, this enables the configuration and build cache alongside parallel building.
This commit is contained in:
PixelyIon 2022-05-30 22:48:34 +05:30
parent 4a6978a3bb
commit 40a7433e97

View File

@ -17,7 +17,7 @@ jobs:
- name: Restore Gradle Cache
uses: actions/cache@v3
with:
path: /root/.gradle/
path: ~/.gradle/
key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle') }}
- name: Restore CXX Cache
@ -46,7 +46,7 @@ jobs:
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
run: ./gradlew --stacktrace assemble
run: ./gradlew --stacktrace --configuration-cache --build-cache --parallel --configure-on-demand assemble
- name: Rename APKs
run: |