File tree 1 file changed +7
-10
lines changed
1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -21,29 +21,26 @@ jobs:
21
21
steps :
22
22
# 检出仓库代码
23
23
- name : Check out repo
24
- uses : actions/checkout@v2
25
- with :
26
- # release workflow should have access to all tags
27
- fetch-depth : 0
24
+ uses : actions/checkout@v3
28
25
29
26
# Setup java
30
27
# https://github.com/marketplace/actions/setup-java-jdk
31
28
- name : Setup Java 11
32
- uses : actions/setup-java@v2
29
+ uses : actions/setup-java@v3
33
30
with :
34
- distribution : ' temurin '
35
- java-version : ' 11 '
31
+ distribution : ' zulu '
32
+ java-version : 11
36
33
37
34
- name : Test
38
35
uses : gradle/gradle-build-action@v2
39
36
with :
40
- gradle-version : 7.5.1
37
+ gradle-version : 7.6
41
38
arguments : assemble allTests --info --warning-mode all
42
39
43
40
- name : Publish to sonatype
44
41
uses : gradle/gradle-build-action@v2
45
42
with :
46
- gradle-version : 7.5.1
43
+ gradle-version : 7.6
47
44
arguments : |
48
45
build
49
46
publishToSonatype
73
70
74
71
# Create gitHub release
75
72
- name : Create Github Release
76
- uses : softprops/action-gh-release@v0.1.14
73
+ uses : softprops/action-gh-release@v1
77
74
with :
78
75
token : ${{ secrets.FORTE_TOKEN }}
79
76
# body_path: .changelog/${{ github.ref_name }}.md
You can’t perform that action at this time.
0 commit comments