Browse Source

缓存maven新增

pull/2817/head
Jiaju Zhuang 2 years ago
parent
commit
cd9873662d
  1. 6
      .github/workflows/release.yml

6
.github/workflows/release.yml

@ -34,6 +34,12 @@ jobs:
server-id: ossrh server-id: ossrh
server-username: MAVEN_USERNAME server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD server-password: MAVEN_PASSWORD
- name: Cache Maven
uses: actions/cache@v3
with:
path: ~/.m2
key: m2
restore-keys: m2
- name: Release Maven package - name: Release Maven package
run: mvn --batch-mode deploy run: mvn --batch-mode deploy
env: env:

Loading…
Cancel
Save