[
https://issues.apache.org/jira/browse/HADOOP-19887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18079324#comment-18079324
]
ASF GitHub Bot commented on HADOOP-19887:
-----------------------------------------
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
> Improve GHA website workflow
> ----------------------------
>
> Key: HADOOP-19887
> URL: https://issues.apache.org/jira/browse/HADOOP-19887
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: ci
> Reporter: Cheng Pan
> Assignee: Cheng Pan
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.6.0
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]