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

CI & Cache for Gradle/Android workflows #95

@kirillt

Description

@kirillt

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') }}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions