Skip to content

Commit

Permalink
Introduce cache key for legacy builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Jul 14, 2021
1 parent d0869a8 commit 09fcb22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -104,6 +104,11 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-legacy-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-legacy-maven-
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
Expand Down

0 comments on commit 09fcb22

Please sign in to comment.