瀏覽代碼

Cache Maven repo during GitHub Actions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886257 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_1_0
Marius Volkhart 3 年之前
父節點
當前提交
0e6f8573f3
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. 4
    4
      .github/workflows/test-maven.yml

+ 4
- 4
.github/workflows/test-maven.yml 查看文件

@@ -25,10 +25,10 @@ jobs:
- name: Cache
uses: actions/cache@v2.1.3
with:
# A list of files, directories, and wildcard patterns to cache and restore
path: lib
# An explicit key for restoring and saving the cache
key: poi-third-party-libs
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- name: Build with Maven
run: (cd sonar && mvn -B validate package --file pom.xml)

Loading…
取消
儲存