File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,11 @@ jobs:
27
27
restore-keys : |
28
28
${{ runner.os }}-maven-
29
29
- name : Set up Java and Maven
30
- uses : actions/setup-java@v2.3.0
30
+ uses : actions/setup-java@v2
31
31
with :
32
32
distribution : ${{ matrix.distribution }}
33
33
java-version : ${{ matrix.java }}
34
+ cache : ' maven'
34
35
- name : Run unit tests
35
36
run : ./mvnw ${MAVEN_ARGS} -B test --file pom.xml
36
37
- name : Set up Minikube
@@ -47,10 +48,11 @@ jobs:
47
48
steps :
48
49
- uses : actions/checkout@v2
49
50
- name : Set up Java and Maven
50
- uses : actions/setup-java@v2.3.0
51
+ uses : actions/setup-java@v2
51
52
with :
52
53
distribution : temurin
53
54
java-version : 11
55
+ cache : ' maven'
54
56
- name : Release Maven package
55
57
uses : samuelmeuli/action-maven-publish@v1
56
58
with :
Original file line number Diff line number Diff line change @@ -27,10 +27,11 @@ jobs:
27
27
restore-keys : |
28
28
${{ runner.os }}-maven-
29
29
- name : Set up Java and Maven
30
- uses : actions/setup-java@v2.3.0
30
+ uses : actions/setup-java@v2
31
31
with :
32
32
distribution : ${{ matrix.distribution }}
33
33
java-version : ${{ matrix.java }}
34
+ cache : ' maven'
34
35
- name : Check code format
35
36
run : ./mvnw ${MAVEN_ARGS} formatter:validate -Dconfigfile=$PWD/contributing/eclipse-google-style.xml --file pom.xml
36
37
- name : Run unit tests
Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ jobs:
10
10
steps :
11
11
- uses : actions/checkout@v2
12
12
- name : Set up Java and Maven
13
- uses : actions/setup-java@v2.3.0
13
+ uses : actions/setup-java@v2
14
14
with :
15
15
java-version : 11
16
16
distribution : temurin
17
+ cache : ' maven'
17
18
- name : change version to release version
18
19
# Assume that RELEASE_VERSION will have form like: "v1.0.1". So we cut the "v"
19
20
run : ./mvnw ${MAVEN_ARGS} versions:set -DnewVersion="${RELEASE_VERSION:1}" versions:commit
@@ -34,10 +35,11 @@ jobs:
34
35
steps :
35
36
- uses : actions/checkout@v2
36
37
- name : Set up Java and Maven
37
- uses : actions/setup-java@v2.3.0
38
+ uses : actions/setup-java@v2
38
39
with :
39
40
java-version : 11
40
41
distribution : temurin
42
+ cache : ' maven'
41
43
- name : change version to release version
42
44
run : |
43
45
./mvnw ${MAVEN_ARGS} versions:set -DnewVersion="${RELEASE_VERSION:1}" versions:commit
You can’t perform that action at this time.
0 commit comments