File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ jobs:
13
13
MAVEN_CENTRAL_PGP_KEY : ${{ secrets.MAVEN_CENTRAL_PGP_KEY }}
14
14
15
15
steps :
16
- - uses : actions/checkout@v1
16
+ - uses : actions/checkout@v3
17
17
- uses : gradle/wrapper-validation-action@v1
18
- - name : Set up JDK 1.8
19
- uses : actions/setup-java@v1
18
+ - name : Set up JDK 11
19
+ uses : actions/setup-java@v3
20
20
with :
21
- java-version : ' 8.0.282'
21
+ java-version : ' 11'
22
+ distribution : ' corretto'
22
23
- name : build test and publish
23
24
run : ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
Original file line number Diff line number Diff line change @@ -14,11 +14,12 @@ jobs:
14
14
buildAndTest :
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - uses : actions/checkout@v1
17
+ - uses : actions/checkout@v3
18
18
- uses : gradle/wrapper-validation-action@v1
19
- - name : Set up JDK 1.8
20
- uses : actions/setup-java@v1
19
+ - name : Set up JDK 11
20
+ uses : actions/setup-java@v3
21
21
with :
22
- java-version : ' 8.0.282'
22
+ java-version : ' 11'
23
+ distribution : ' corretto'
23
24
- name : build and test
24
25
run : ./gradlew assemble && ./gradlew check --info --stacktrace
Original file line number Diff line number Diff line change @@ -17,11 +17,12 @@ jobs:
17
17
RELEASE_VERSION : ${{ github.event.inputs.version }}
18
18
19
19
steps :
20
- - uses : actions/checkout@v1
20
+ - uses : actions/checkout@v3
21
21
- uses : gradle/wrapper-validation-action@v1
22
- - name : Set up JDK 1.8
23
- uses : actions/setup-java@v1
22
+ - name : Set up JDK 11
23
+ uses : actions/setup-java@v3
24
24
with :
25
- java-version : ' 8.0.282'
25
+ java-version : ' 11'
26
+ distribution : ' corretto'
26
27
- name : build test and publish
27
28
run : ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
You can’t perform that action at this time.
0 commit comments