mirror of
https://github.com/RDCN-Community-Developers/rdkt.git
synced 2026-09-05 01:35:31 +08:00
Change Java version.
This commit is contained in:
@@ -43,10 +43,10 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
~/.konan
|
~/.konan
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/.lock') }}
|
key: ${{ runner.os }}-${{ hashFiles('**/.lock') }}
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '17'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Give Execute Permission to Gradle Wrapper
|
- name: Give Execute Permission to Gradle Wrapper
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|||||||
@@ -9,11 +9,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: 11
|
java-version: 21
|
||||||
- name: Publish to MavenCentral
|
- name: Publish to MavenCentral
|
||||||
run: ./gradlew publishToMavenCentral --no-configuration-cache
|
run: ./gradlew publishToMavenCentral --no-configuration-cache
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user