pan3793 commented on code in PR #9014:
URL: https://github.com/apache/hadoop/pull/9014#discussion_r4703365785
##########
.github/workflows/tmpl_build_and_test.yml:
##########
@@ -176,6 +176,12 @@ jobs:
java-version: ${{ inputs.java }}
cache: 'maven'
check-latest: false
+ # ./mvnw downloads maven-wrapper.jar into the workspace, which
setup-java does not cache
+ - name: Cache Maven wrapper jar
+ uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
+ with:
+ path: .mvn/wrapper/maven-wrapper.jar
+ key: maven-wrapper-jar-${{
hashFiles('.mvn/wrapper/maven-wrapper.properties') }}
Review Comment:
I can't recall why `source` was choosen when adding this, but changing to
another type is fine to me if it solves problems
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]