diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f7dfb2c3dc..84b3d9a5197 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,17 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: '1.8' + - name: Cache Gradle Home files + uses: actions/cache@v1 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-home-testmatrix-${{ hashFiles('**/*.gradle') }} + restore-keys: | + ${{ runner.os }}-gradle-home-testmatrix- + ${{ runner.os }}-gradle-home- - id: set-matrix run: | TASKS=$(./gradlew --no-daemon --parallel -q testMatrix)