Skip to content

Commit

Permalink
Add gradle caching to find_gradle_jobs build (testcontainers#2589)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnorth authored and quincy committed May 28, 2020
1 parent 56d46a6 commit 3264b47
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -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)
Expand Down

0 comments on commit 3264b47

Please sign in to comment.