diff --git a/.github/workflows/IJ-latest.yml b/.github/workflows/IJ-latest.yml index 91ae783d2..b24596e71 100644 --- a/.github/workflows/IJ-latest.yml +++ b/.github/workflows/IJ-latest.yml @@ -22,15 +22,13 @@ jobs: - name: Setup Java uses: actions/setup-java@v4 with: - distribution: temurin + distribution: 'temurin' java-version: 17 - cache: maven + cache: 'gradle' # Setup Gradle - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 - name: Build with Gradle run: ./gradlew check -PplatformVersion=LATEST-EAP-SNAPSHOT diff --git a/.github/workflows/IJ.yml b/.github/workflows/IJ.yml index 198c3fba6..276809d7f 100644 --- a/.github/workflows/IJ.yml +++ b/.github/workflows/IJ.yml @@ -28,14 +28,13 @@ jobs: - name: Setup Java uses: actions/setup-java@v4 with: - distribution: temurin + distribution: 'temurin' java-version: 17 + cache: 'gradle' # Setup Gradle - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 # Run Verify Plugin task and IntelliJ Plugin Verifier tool - name: Run Plugin Verification tasks diff --git a/.github/workflows/buildZip.yml b/.github/workflows/buildZip.yml index f5d3154f3..ab22c38ad 100644 --- a/.github/workflows/buildZip.yml +++ b/.github/workflows/buildZip.yml @@ -20,21 +20,19 @@ jobs: # Validate wrapper - name: Gradle Wrapper Validation - uses: gradle/wrapper-validation-action@v2 + uses: gradle/actions/wrapper-validation@v4 # Set up Java environment for the next steps - name: Setup Java uses: actions/setup-java@v4 with: - distribution: temurin + distribution: 'temurin' java-version: 17 + cache: 'gradle' # Setup Gradle - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true - cache-read-only: false + uses: gradle/actions/setup-gradle@v4 # Build plugin - name: Build plugin diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36ca40f95..cd6b3ba6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,15 +28,13 @@ jobs: - name: Setup Java uses: actions/setup-java@v4 with: - distribution: temurin + distribution: 'temurin' java-version: 17 - cache: maven + cache: 'gradle' # Setup Gradle - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 # Run tests - name: Run Tests diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 4fbebb440..5f636cde9 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -55,14 +55,13 @@ jobs: - name: Setup Java uses: actions/setup-java@v4 with: - distribution: temurin + distribution: 'temurin' java-version: 17 + cache: 'gradle' # Setup Gradle - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 - name: Publish Plugin env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72ffe0262..09b862d57 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,14 +44,13 @@ jobs: - name: Setup Java uses: actions/setup-java@v4 with: - distribution: temurin + distribution: 'temurin' java-version: 17 + cache: 'gradle' # Setup Gradle - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 - name: Set Release Version id: release_version