We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d890ede commit 3f85d49Copy full SHA for 3f85d49
.github/workflows/pr-check.yml
@@ -2,8 +2,6 @@ name: PR Check
2
3
on:
4
pull_request:
5
- branches:
6
- - main
7
8
jobs:
9
build:
@@ -21,6 +19,14 @@ jobs:
21
19
distribution: 'temurin'
22
20
cache: 'maven'
23
+ - name: Maven Build-Cache
+ uses: actions/cache@v4
24
+ with:
25
+ path: ~/.m2/build-cache
26
+ key: build-cache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
27
+ restore-keys: |
28
+ build-cache-${{ runner.os }}-
29
+
30
- name: Run tests
31
run: |
32
./mvnw -ntp -B -U test
0 commit comments