We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9321bf commit 321b88aCopy full SHA for 321b88a
actions/maven-snapshot-deploy/action.yaml
@@ -189,9 +189,9 @@ runs:
189
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
190
with:
191
path: ~/.m2/repository
192
- key: maven-${{ runner.os }}
+ key: maven-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
193
restore-keys: |
194
- maven-${{ runner.os }}
+ maven-${{ runner.os }}-
195
196
- name: "Set up JDK for deployment"
197
if: ${{ inputs.maven-command == 'deploy' }}
0 commit comments