File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,13 @@ jobs:
22
22
runs-on : ubuntu-latest
23
23
steps :
24
24
- name : Checkout
25
- uses : actions/checkout@v1
26
- - name : Cache
27
- uses : actions/cache@v4
28
- with :
29
- path : ~/.m2
30
- key : m2
25
+ uses : actions/checkout@v4
31
26
- name : Set up JDK
32
- uses : actions/setup-java@v1
27
+ uses : actions/setup-java@v4
33
28
with :
34
- java-version : 1.8
29
+ distribution : temurin
30
+ java-version : 8
31
+ cache : ' maven'
35
32
- name : Compile
36
33
run : ./mvnw clean test-compile -B
37
34
- name : Test
Original file line number Diff line number Diff line change 9
9
release :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v4
12
14
- name : Create Release
13
- uses : actions/create- release@v1
15
+ uses : softprops/action-gh- release@v2
14
16
env :
15
17
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16
18
with :
17
19
tag_name : ${{ github.ref }}
18
- release_name : ${{ github.ref }}
20
+ name : ${{ github.ref }}
19
21
draft : false
20
22
prerelease : ${{ contains(github.ref, 'RC') }}
You can’t perform that action at this time.
0 commit comments