File tree Expand file tree Collapse file tree 4 files changed +313
-574
lines changed Expand file tree Collapse file tree 4 files changed +313
-574
lines changed Original file line number Diff line number Diff line change @@ -22,25 +22,22 @@ jobs:
22
22
23
23
build-upload :
24
24
needs : create-staging-repository
25
- runs-on : ubuntu -latest
25
+ runs-on : macos -latest
26
26
env :
27
27
SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
28
28
SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
29
29
GPG_PRIVATE_KEY : ${{ secrets.PGP_SIGNING_KEY }}
30
30
GPG_PRIVATE_PASSWORD : ${{ secrets.PGP_SIGNING_PASSWORD }}
31
31
steps :
32
- - name : Check out
33
- uses : actions/checkout@v2
32
+ - name : Checkout
33
+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
34
34
- name : Cached Gradle
35
- uses : actions/cache@v2
36
- with :
37
- path : ~/.gradle
38
- key : gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
39
- restore-keys : gradle-
40
- - name : Set up JDK 11
41
- uses : actions/setup-java@v1
35
+ uses : gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2
36
+ - name : Set up JDK 17
37
+ uses : actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # v3
42
38
with :
43
- java-version : 11
39
+ java-version : 17
40
+ distribution : ' temurin'
44
41
- name : Check
45
42
run : ./gradlew build check
46
43
shell : bash
Original file line number Diff line number Diff line change 19
19
20
20
jobs :
21
21
build-upload :
22
- runs-on : ubuntu -latest
22
+ runs-on : macos -latest
23
23
steps :
24
- - name : Check out
25
- uses : actions/checkout@v2
24
+ - name : Checkout
25
+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
26
26
- name : Cached Gradle
27
- uses : actions/cache@v2
27
+ uses : gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2
28
+ - name : Set up JDK 17
29
+ uses : actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # v3
28
30
with :
29
- path : ~/.gradle
30
- key : gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
31
- restore-keys : gradle-
32
- - name : Set up JDK 11
33
- uses : actions/setup-java@v1
34
- with :
35
- java-version : 11
31
+ java-version : 17
32
+ distribution : ' temurin'
36
33
- name : Check
37
34
run : ./gradlew build check
38
35
shell : bash
Original file line number Diff line number Diff line change 12
12
jobs :
13
13
14
14
check :
15
- runs-on : ubuntu -latest
15
+ runs-on : macos -latest
16
16
steps :
17
- - name : Check out
18
- uses : actions/checkout@v2
17
+ - name : Checkout
18
+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
19
19
- name : Cached Gradle
20
- uses : actions/cache@v2
20
+ uses : gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2
21
+ - name : Set up JDK 17
22
+ uses : actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # v3
21
23
with :
22
- path : ~/.gradle
23
- key : gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
24
- restore-keys : gradle-
25
- - name : Set up JDK 11
26
- uses : actions/setup-java@v1
27
- with :
28
- java-version : 11
24
+ java-version : 17
25
+ distribution : ' temurin'
29
26
- name : Build & Check
30
27
run : ./gradlew build check
31
28
shell : bash
You can’t perform that action at this time.
0 commit comments