diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 55b7857e..65bc1494 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -13,9 +13,11 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java_version }} - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java_version }} + distribution: 'temurin' + cache: Gradle - name: Build with Gradle run: ./gradlew check --stacktrace - name: Archive test results diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 5f3d6474..78afa43b 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -19,9 +19,11 @@ jobs: - run: | git fetch --prune --unshallow - name: Set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 17 + distribution: 'temurin' + cache: gradle - name: SonarCloud Scan run: ./gradlew check sonar env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91f4626b..27313ebf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,9 +14,11 @@ jobs: - name: Checkout source uses: actions/checkout@v4 - name: Set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 17 + distribution: 'temurin' + cache: Gradle - name: Build with Gradle run: ./gradlew build - name: Upload jar to release