Skip to content

Commit

Permalink
No issue: Also cache the datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
reckart committed Aug 3, 2024
1 parent b170e31 commit 3a37f0a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,24 @@ jobs:

- name: Cache Maven repository
id: maven-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
path: |
~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ env.CACHE_DATE }}
restore-keys: |
${{ runner.os }}-maven-
- name: Cache DKPro Core dataset repository
id: maven-cache
uses: actions/cache@v4
with:
path: |
cache
key: ${{ runner.os }}-dataset-${{ hashFiles('**/*') }}-${{ env.CACHE_DATE }}
restore-keys: |
${{ runner.os }}-dataset-
- name: Build with Maven
run: mvn --no-transfer-progress -B clean verify --file pom.xml

Expand Down

0 comments on commit 3a37f0a

Please sign in to comment.