File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,19 @@ jobs:
1313
1414 steps :
1515 - name : Checkout sources
16- uses : actions/checkout@v2
16+ uses : actions/checkout@v4
1717
1818 - name : Setup Java
19- uses : actions/setup-java@v1
19+ uses : actions/setup-java@v4
2020 with :
21- java-version : 8
21+ distribution : temurin
22+ java-version : 17
23+
24+ - name : Setup Gradle
25+ uses : gradle/actions/setup-gradle@v3
2226
2327 - name : Run Check
24- uses : eskatos/gradle-command-action@v1
25- with :
26- arguments : check
27- wrapper-cache-enabled : true
28- dependencies-cache-enabled : true
28+ run : ./gradlew check
2929
3030 publish :
3131 name : Publish
@@ -35,19 +35,19 @@ jobs:
3535
3636 steps :
3737 - name : Checkout sources
38- uses : actions/checkout@v2
38+ uses : actions/checkout@v4
3939
4040 - name : Setup Java
41- uses : actions/setup-java@v1
41+ uses : actions/setup-java@v4
4242 with :
43- java-version : 8
43+ distribution : temurin
44+ java-version : 17
45+
46+ - name : Setup Gradle
47+ uses : gradle/actions/setup-gradle@v3
4448
4549 - name : Run Publish
46- uses : eskatos/gradle-command-action@v1
47- with :
48- arguments : publish
49- wrapper-cache-enabled : true
50- dependencies-cache-enabled : true
50+ run : ./gradlew publish
5151 env :
5252 ORG_GRADLE_PROJECT_githubPackagesUsername : ${{ github.actor }}
5353 ORG_GRADLE_PROJECT_githubPackagesPassword : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments