Skip to content

Commit fbd46b7

Browse files
committed
update actions
1 parent c0c6b84 commit fbd46b7

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,18 @@ on: [ push, pull_request ]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-latest
88

99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v2
12-
13-
- name: Cache
14-
uses: actions/cache@v2
15-
with:
16-
path: |
17-
~/.m2/repository
18-
key: ${{ runner.os }}-cache-${{ hashFiles('**/pom.xml') }}
19-
restore-keys: |
20-
${{ runner.os }}-cache-
11+
uses: actions/checkout@v4
2112

2213
- name: Set up JDK 11
2314
uses: actions/setup-java@v2
2415
with:
2516
distribution: adopt
2617
java-version: 11
18+
cache: 'maven'
2719

2820
- name: Build
2921
run: mvn verify --settings ci/settings.xml

0 commit comments

Comments
 (0)