add cache: gradle

This commit is contained in:
Ludy87 2025-07-16 15:25:38 +02:00
parent 11cbc6a4f1
commit e83b31d8cf
No known key found for this signature in database
GPG Key ID: 92696155E0220F94
8 changed files with 14 additions and 0 deletions

View File

@ -180,6 +180,7 @@ jobs:
with:
java-version: "17"
distribution: "temurin"
cache: gradle
- name: Run Gradle Command
run: |

View File

@ -38,6 +38,7 @@ jobs:
with:
java-version: ${{ matrix.jdk-version }}
distribution: "temurin"
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
@ -117,6 +118,7 @@ jobs:
with:
java-version: "17"
distribution: "temurin"
cache: gradle
- name: Setup Gradle
if: ${{ steps.files.outputs.openapi == 'true' }}
@ -157,6 +159,7 @@ jobs:
with:
java-version: "17"
distribution: "adopt"
cache: gradle
- name: check the licenses for compatibility
if: ${{ steps.files.outputs.build == 'true' }}
@ -209,6 +212,7 @@ jobs:
with:
java-version: "17"
distribution: "adopt"
cache: gradle
- name: Set up Docker Buildx
if: ${{ steps.files.outputs.project == 'true' }}
@ -270,6 +274,7 @@ jobs:
with:
java-version: "17"
distribution: "temurin"
cache: gradle
- name: Set up Gradle
if: ${{ steps.files.outputs.project == 'true' }}

View File

@ -40,6 +40,7 @@ jobs:
with:
java-version: "17"
distribution: "adopt"
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1

View File

@ -32,6 +32,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: gradle
# ✅ Get version from Gradle
- name: Get version number
@ -71,6 +72,7 @@ jobs:
with:
java-version: "21"
distribution: "temurin"
cache: gradle
- uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
with:
@ -159,6 +161,7 @@ jobs:
with:
java-version: "21"
distribution: "temurin"
cache: gradle
- uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
with:

View File

@ -29,6 +29,7 @@ jobs:
with:
java-version: "17"
distribution: "temurin"
cache: gradle
- uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
with:

View File

@ -34,6 +34,7 @@ jobs:
with:
java-version: "17"
distribution: "temurin"
cache: gradle
- uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
with:

View File

@ -25,6 +25,7 @@ jobs:
with:
java-version: "17"
distribution: "temurin"
cache: gradle
- uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1

View File

@ -24,6 +24,7 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1