Skip to content

Commit 280cd0f

Browse files
committed
fixed workflow
1 parent 19767aa commit 280cd0f

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Set up JDK 11
20-
uses: actions/setup-java@v1
20+
uses: actions/setup-java@v4
2121
with:
2222
java-version: 11
23-
24-
- name: Cache Maven packages
25-
uses: actions/cache@v2
26-
with:
27-
path: ~/.m2
28-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
29-
restore-keys: ${{ runner.os }}-m2
23+
distribution: 'temurin'
24+
cache: 'maven'
3025

3126
- name: Attach artifact
3227
id: build-artifact

0 commit comments

Comments
 (0)