diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d498c172..a3dec5ecf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,22 +9,13 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false - - name: Validate Gradle Wrapper - uses: gradle/actions/wrapper-validation@v4 + - name: Set up Gradle + uses: gradle/actions/setup-gradle@v4 - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: 17 check-latest: true - - name: Cache Dependencies - uses: actions/cache@v4 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- - name: Build with Gradle run: ./gradlew build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3d113556e..c7d86ce86 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,8 +14,8 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false - - name: Validate Gradle Wrapper - uses: gradle/actions/wrapper-validation@v4 + - name: Set up Gradle + uses: gradle/actions/setup-gradle@v4 - name: Set up JDK 17 uses: actions/setup-java@v4 with: