File tree 3 files changed +12
-6
lines changed 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 16
16
- uses : actions/checkout@v4
17
17
- uses : gradle/wrapper-validation-action@v1
18
18
- name : Set up JDK 11
19
- uses : actions/setup-java@v1
19
+ uses : actions/setup-java@v4
20
20
with :
21
- java-version : ' 11.0.23'
21
+ java-version : ' 11'
22
+ distribution : ' temurin'
23
+ check-latest : true
22
24
- name : build test and publish
23
25
run : ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
24
26
env :
Original file line number Diff line number Diff line change 16
16
- uses : actions/checkout@v4
17
17
- uses : gradle/wrapper-validation-action@v1
18
18
- name : Set up JDK 11
19
- uses : actions/setup-java@v1
19
+ uses : actions/setup-java@v4
20
20
with :
21
- java-version : ' 11.0.23'
21
+ java-version : ' 11'
22
+ distribution : ' temurin'
23
+ check-latest : true
22
24
- name : build and test
23
25
run : ./gradlew assemble && ./gradlew check --info --stacktrace
24
26
env :
Original file line number Diff line number Diff line change 20
20
- uses : actions/checkout@v4
21
21
- uses : gradle/wrapper-validation-action@v1
22
22
- name : Set up JDK 11
23
- uses : actions/setup-java@v1
23
+ uses : actions/setup-java@v4
24
24
with :
25
- java-version : ' 11.0.23'
25
+ java-version : ' 11'
26
+ distribution : ' temurin'
27
+ check-latest : true
26
28
- name : build test and publish
27
29
run : ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
28
30
env :
You can’t perform that action at this time.
0 commit comments