Skip to content

Commit

Permalink
use yml files in cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Jan 22, 2021
1 parent d322647 commit e5f2ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml', '**/*.yml') }}
restore-keys: ${{ runner.os }}-m2-
- name: Build with Maven
run: >
Expand Down

0 comments on commit e5f2ca7

Please sign in to comment.