Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

CI & Cache for Gradle/Android workflows #95

Open
kirillt opened this issue Sep 21, 2023 · 0 comments
Open

CI & Cache for Gradle/Android workflows #95

kirillt opened this issue Sep 21, 2023 · 0 comments

Comments

@kirillt
Copy link
Member

kirillt commented Sep 21, 2023

We need to speed up our CI builds. Right now, it can take up to an hour.

Example provided by @mdrlzy
https://github.com/coil-kt/coil/blob/d0644b9a5a96627a09d5ac724b8a4fd6578fea6e/.github/workflows/ci.yml#L66

- uses: actions/cache@v2
  with:
    path: |
      ~/.gradle/caches
      ~/.gradle/wrapper
    key: ${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
@kirillt kirillt mentioned this issue Sep 22, 2023
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant