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:
13
13
14
14
steps :
15
15
- name : Checkout sources
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v4
17
17
18
18
- name : Setup Java
19
- uses : actions/setup-java@v1
19
+ uses : actions/setup-java@v4
20
20
with :
21
- java-version : 8
21
+ distribution : temurin
22
+ java-version : 17
23
+
24
+ - name : Setup Gradle
25
+ uses : gradle/actions/setup-gradle@v3
22
26
23
27
- 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
29
29
30
30
publish :
31
31
name : Publish
@@ -35,19 +35,19 @@ jobs:
35
35
36
36
steps :
37
37
- name : Checkout sources
38
- uses : actions/checkout@v2
38
+ uses : actions/checkout@v4
39
39
40
40
- name : Setup Java
41
- uses : actions/setup-java@v1
41
+ uses : actions/setup-java@v4
42
42
with :
43
- java-version : 8
43
+ distribution : temurin
44
+ java-version : 17
45
+
46
+ - name : Setup Gradle
47
+ uses : gradle/actions/setup-gradle@v3
44
48
45
49
- 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
51
51
env :
52
52
ORG_GRADLE_PROJECT_githubPackagesUsername : ${{ github.actor }}
53
53
ORG_GRADLE_PROJECT_githubPackagesPassword : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments