diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index a1b189d..d843257 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -11,11 +11,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 8 + - name: Set up JDK 23 uses: actions/setup-java@v4 with: distribution: "temurin" - java-version: 8 + java-version: 23 + cache: gradle - name: danger-kotlin-library:shadowJar run: ./gradlew danger-kotlin-library:shadowJar - name: Upload Artifact lib @@ -41,11 +42,12 @@ jobs: with: name: lib - - name: Set up JDK 8 + - name: Set up JDK 23 uses: actions/setup-java@v4 with: distribution: "temurin" - java-version: 8 + java-version: 23 + cache: gradle - name: danger-kotlin:build -PtargetOS="${{ matrix.target.compiler }}" run: ./gradlew danger-kotlin:build -PtargetOS="${{ matrix.target.compiler }}" - name: Prepare distribution package