File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 7
7
build :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v2
10
+ - name : Checkout
11
+ uses : actions/checkout@v4
11
12
- name : Set up JDK 21
12
- uses : actions/setup-java@v1
13
+ uses : actions/setup-java@v4
13
14
with :
15
+ distribution : temurin
14
16
java-version : 21
15
- - name : Cache Maven packages
16
- uses : actions/cache@v2
17
+ - name : Cache Maven dependencies
18
+ uses : actions/cache@v3
17
19
with :
18
- path : ~/.m2
19
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
20
- restore-keys : ${{ runner.os }}-m2
20
+ path : ~/.m2/repository
21
+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
22
+ restore-keys : |
23
+ ${{ runner.os }}-maven-
21
24
- name : Build with Maven
22
25
run : mvn clean install -ntp
23
26
- name : Upload coverage to Codecov
24
- uses : codecov/codecov-action@v1
27
+ uses : codecov/codecov-action@v5
28
+ with :
29
+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments