Skip to content

Commit

Permalink
[UPDATE] JDK and gradle version for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
hossain-khan committed Dec 22, 2024
1 parent d67b2f5 commit e31faf9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
# Use JDK LTS version (keep this in sync with other workflows)
java-version: '21'
distribution: 'temurin'
cache: gradle

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/static-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Simple workflow for deploying static content to GitHub Pages
# Publishes dokka generated kotlin documentation to GitHub Pages
name: Deploy static content to Pages

on:
Expand Down Expand Up @@ -35,6 +36,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
# Use JDK LTS version (keep this in sync with other workflows)
java-version: '21'
distribution: 'temurin'

Expand All @@ -43,7 +45,8 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
gradle-version: '8.4'
# Match gradle/wrapper/gradle-wrapper.properties version
gradle-version: '8.12'

- name: Build with Gradle
run: gradle clean dokkaGeneratePublicationHtml
Expand Down

0 comments on commit e31faf9

Please sign in to comment.