From cd9873662d14dbfc602fc0f3ed01795b5d8ddd83 Mon Sep 17 00:00:00 2001 From: Jiaju Zhuang Date: Wed, 16 Nov 2022 16:28:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98maven=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5fef4211..0c60418f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,12 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD + - name: Cache Maven + uses: actions/cache@v3 + with: + path: ~/.m2 + key: m2 + restore-keys: m2 - name: Release Maven package run: mvn --batch-mode deploy env: