Skip to content

Commit e07e941

Browse files
authored
Update release.yml
1 parent 4de1158 commit e07e941

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ jobs:
1616
steps:
1717
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1818
- uses: actions/checkout@v2
19-
2019
# Runs a single command using the runners shell
20+
- name: Cache Maven packages
21+
uses: actions/cache@v2
22+
with:
23+
path: ~/.m2
24+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
25+
restore-keys: ${{ runner.os }}-m2
2126
- name: Maven Build
2227
run: mvn package -Dmdep.skip
2328
- name: Upload to release

0 commit comments

Comments
 (0)