diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index fbd4842..2efecf9 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -40,6 +40,16 @@ jobs: java-version: '21' distribution: 'temurin' + - name: Cache Gradle packages + uses: actions/cache@v4 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + restore-keys: | + gradle-${{ runner.os }}- + - name: Build + unit tests run: ./gradlew :app:build @@ -74,6 +84,16 @@ jobs: java-version: '21' distribution: 'temurin' + - name: Cache Gradle packages + uses: actions/cache@v4 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + restore-keys: | + gradle-${{ runner.os }}- + - name: Download JAR uses: actions/download-artifact@v4 with: