pan3793 commented on code in PR #8482:
URL: https://github.com/apache/hadoop/pull/8482#discussion_r3206608313


##########
.github/workflows/website.yml:
##########
@@ -26,31 +26,24 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout Hadoop trunk
-        uses: actions/checkout@v3
-        with:
-          repository: apache/hadoop
+        uses: actions/checkout@v6
       - name: Set up JDK 17
         uses: actions/setup-java@v5
         with:
           java-version: '17'
           distribution: 'temurin'
-      - name: Cache local Maven repository
-        uses: actions/cache@v3
-        with:
-          path: ~/.m2/repository
-          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
-          restore-keys: |
-            ${{ runner.os }}-maven-
+          cache: 'maven'
+          check-latest: false
       - name: Build Hadoop maven plugins
-        run: cd hadoop-maven-plugins && mvn --batch-mode install
+        run: ./mvnw --batch-mode -f hadoop-maven-plugins/pom.xml install

Review Comment:
   this unfortunately does not work, and it was not caught in my local test as 
it has cache in `~/.m2`, I pushed a hotfix to restore it 
https://github.com/apache/hadoop/commit/b3cc7d0f97c7aa17faf9fe8a53b2d6b4c7b3c47d



-- 
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]

Reply via email to