This is an automated email from the ASF dual-hosted git repository. lhotari pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit 6e2f64c25003875ca1dc535fa7c52a903f178b2c Author: Lari Hotari <[email protected]> AuthorDate: Thu Oct 24 10:14:38 2024 +0300 Upgrade versions used in GitHub Actions workflows --- .github/actions/sync-content/action.yml | 12 ++++++------ .github/workflows/ci-build-site.yml | 6 +++--- .github/workflows/ci-precommit.yml | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/actions/sync-content/action.yml b/.github/actions/sync-content/action.yml index 40a439d5f3e1..9e27dfd2fa54 100644 --- a/.github/actions/sync-content/action.yml +++ b/.github/actions/sync-content/action.yml @@ -25,7 +25,7 @@ runs: shell: bash - uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.12' cache: 'poetry' - uses: actions/checkout@v4 @@ -43,15 +43,15 @@ runs: ${{ runner.os }}-m2-dependencies-all-${{ hashFiles('**/pom.xml') }} ${{ runner.os }}-m2-dependencies-core-modules-${{ hashFiles('**/pom.xml') }} ${{ runner.os }}-m2-dependencies-core-modules- - - name: Set up JDK 17 - uses: actions/setup-java@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - distribution: 'temurin' - java-version: 17 + distribution: corretto + java-version: 21 - name: Run install by skip tests working-directory: tmp/pulsar env: - MAVEN_OPTS: -Xss1500k -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 + MAVEN_OPTS: -Xss1500k -Xmx1500m -Daether.connector.http.reuseConnections=false -Daether.connector.requestTimeout=60000 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.serviceUnavailableRetryStrategy.class=standard -Dmaven.wagon.rto=60000 run: mvn -B -ntp install -Pcore-modules,swagger,-main -DskipTests -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true shell: bash diff --git a/.github/workflows/ci-build-site.yml b/.github/workflows/ci-build-site.yml index fd542d98a627..d7890cb31f61 100644 --- a/.github/workflows/ci-build-site.yml +++ b/.github/workflows/ci-build-site.yml @@ -44,12 +44,12 @@ jobs: run: pipx install poetry - uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: '3.12' cache: 'poetry' - - name: Set Node.js 18 + - name: Set Node.js 20 uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - run: corepack enable - name: Update generated docs working-directory: tools/pytools diff --git a/.github/workflows/ci-precommit.yml b/.github/workflows/ci-precommit.yml index 36a9cc26d5ce..f29f5a5133d0 100644 --- a/.github/workflows/ci-precommit.yml +++ b/.github/workflows/ci-precommit.yml @@ -53,12 +53,12 @@ jobs: run: pipx install poetry - uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: '3.12' cache: 'poetry' - - name: Set Node.js 18 + - name: Set Node.js 20 uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - run: corepack enable - name: Update generated docs working-directory: tools/pytools
