|
@@ -26,16 +26,16 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- name: Checkout Hadoop trunk
|
|
|
- uses: actions/checkout@v4.2.2
|
|
|
+ uses: actions/checkout@v3
|
|
|
with:
|
|
|
repository: apache/hadoop
|
|
|
- name: Set up JDK 8
|
|
|
- uses: actions/setup-java@v4.7.0
|
|
|
+ uses: actions/setup-java@v3
|
|
|
with:
|
|
|
java-version: '8'
|
|
|
distribution: 'temurin'
|
|
|
- name: Cache local Maven repository
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v3
|
|
|
with:
|
|
|
path: ~/.m2/repository
|
|
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
|
@@ -50,7 +50,7 @@ jobs:
|
|
|
- name: Stage document
|
|
|
run: mvn site:stage -DstagingDirectory=${GITHUB_WORKSPACE}/staging/
|
|
|
- name: Deploy to GitHub Pages
|
|
|
- uses: peaceiris/actions-gh-pages@v4.0.0
|
|
|
+ uses: peaceiris/actions-gh-pages@v3
|
|
|
with:
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
publish_dir: ./staging/hadoop-project
|