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:
2222
2323 build-upload :
2424 needs : create-staging-repository
25- runs-on : ubuntu -latest
25+ runs-on : macos -latest
2626 env :
2727 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
2828 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
2929 GPG_PRIVATE_KEY : ${{ secrets.PGP_SIGNING_KEY }}
3030 GPG_PRIVATE_PASSWORD : ${{ secrets.PGP_SIGNING_PASSWORD }}
3131 steps :
32- - name : Check out
33- uses : actions/checkout@v2
32+ - name : Checkout
33+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
3434 - 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
4238 with :
43- java-version : 11
39+ java-version : 17
40+ distribution : ' temurin'
4441 - name : Check
4542 run : ./gradlew build check
4643 shell : bash
Original file line number Diff line number Diff line change 1919
2020jobs :
2121 build-upload :
22- runs-on : ubuntu -latest
22+ runs-on : macos -latest
2323 steps :
24- - name : Check out
25- uses : actions/checkout@v2
24+ - name : Checkout
25+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
2626 - 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
2830 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'
3633 - name : Check
3734 run : ./gradlew build check
3835 shell : bash
Original file line number Diff line number Diff line change 1212jobs :
1313
1414 check :
15- runs-on : ubuntu -latest
15+ runs-on : macos -latest
1616 steps :
17- - name : Check out
18- uses : actions/checkout@v2
17+ - name : Checkout
18+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
1919 - 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
2123 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'
2926 - name : Build & Check
3027 run : ./gradlew build check
3128 shell : bash
You can’t perform that action at this time.
0 commit comments