Skip to content

Commit

Permalink
Bump java version in workflows and jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
md5sha256 committed Jun 21, 2024
1 parent 49a4b14 commit cd79e07
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
os: ["ubuntu-latest", "windows-latest"]
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation[email protected]
- name: Set up JDK 17
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '21'
distribution: 'zulu'
cache: 'gradle'
- name: Build with Gradle
Expand Down
4 changes: 2 additions & 2 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
before_install:
- sdk update
- sdk install java 17.0.9-tem
- sdk use java 17.0.9-tem
- sdk install java 21.0.3-tem
- sdk use java 21.0.3-tem
install:
- ./gradlew build publishToMavenLocal

0 comments on commit cd79e07

Please sign in to comment.