This is an automated email from the ASF dual-hosted git repository.
tuhaihe pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
The following commit(s) were added to refs/heads/main by this push:
new 51967d33cb2 CI: bump GitHub Actions to Node.js 24 runtimes
51967d33cb2 is described below
commit 51967d33cb2ab3263e3ca43676c176f23ee9b47c
Author: Dianjin Wang <[email protected]>
AuthorDate: Fri Jul 31 11:00:48 2026 +0800
CI: bump GitHub Actions to Node.js 24 runtimes
GitHub Actions runners now force actions declaring Node.js 20 onto
Node.js 24 and emit a deprecation annotation on every job. Node.js
20 support is removed entirely after June 2026, so the workflows
need actions whose action.yml declares "using: node24".
Version transitions applied across all workflow files:
actions/upload-artifact v4 -> v7 (27 call sites)
actions/download-artifact v4 -> v8 (11 call sites)
actions/checkout v4 -> v7 (9 call sites)
actions/setup-java v3 -> v5 (1 call site)
Assisted-by: Claude Code
---
.github/workflows/apache-rat-audit.yml | 6 +++---
.github/workflows/build-cloudberry.yml | 24 +++++++++++-----------
.github/workflows/build-dbg-cloudberry.yml | 24 +++++++++++-----------
.github/workflows/build-deb-cloudberry.yml | 24 +++++++++++-----------
.github/workflows/coverity.yml | 2 +-
.github/workflows/docker-cbdb-build-containers.yml | 2 +-
.github/workflows/docker-cbdb-test-containers.yml | 2 +-
.github/workflows/package-convenience-binaries.yml | 10 ++++-----
.github/workflows/sonarqube.yml | 2 +-
9 files changed, 48 insertions(+), 48 deletions(-)
diff --git a/.github/workflows/apache-rat-audit.yml
b/.github/workflows/apache-rat-audit.yml
index 790b54ceb7f..53df0a40b40 100644
--- a/.github/workflows/apache-rat-audit.yml
+++ b/.github/workflows/apache-rat-audit.yml
@@ -52,12 +52,12 @@ jobs:
steps:
- name: Check out repository
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
with:
fetch-depth: 1
- name: Set up Java and Maven
- uses: actions/setup-java@v3
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '11'
@@ -195,7 +195,7 @@ jobs:
- name: Upload Rat check results
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: rat-check-results
path: rat-output.log
diff --git a/.github/workflows/build-cloudberry.yml
b/.github/workflows/build-cloudberry.yml
index 87f81a1cfc5..7abb658632d 100644
--- a/.github/workflows/build-cloudberry.yml
+++ b/.github/workflows/build-cloudberry.yml
@@ -533,7 +533,7 @@ jobs:
- name: Checkout Apache Cloudberry
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
with:
fetch-depth: 1
submodules: true
@@ -751,7 +751,7 @@ jobs:
- name: Upload build logs
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: build-logs-rocky${{ matrix.rocky_version }}-${{
env.BUILD_TIMESTAMP }}
path: |
@@ -760,7 +760,7 @@ jobs:
- name: Upload Cloudberry RPM build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: apache-cloudberry-db-incubating-rpm-build-artifacts-rocky${{
matrix.rocky_version }}
retention-days: ${{ env.LOG_RETENTION_DAYS }}
@@ -770,7 +770,7 @@ jobs:
- name: Upload Cloudberry source build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name:
apache-cloudberry-db-incubating-source-build-artifacts-rocky${{
matrix.rocky_version }}
retention-days: ${{ env.LOG_RETENTION_DAYS }}
@@ -837,7 +837,7 @@ jobs:
- name: Download Cloudberry RPM build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: apache-cloudberry-db-incubating-rpm-build-artifacts-rocky${{
matrix.rocky_version }}
path: ${{ github.workspace }}/rpm_build_artifacts
@@ -972,7 +972,7 @@ jobs:
- name: Upload install logs
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: install-logs-rocky${{ matrix.rocky_version }}
path: |
@@ -1245,7 +1245,7 @@ jobs:
- name: Download Cloudberry RPM build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: apache-cloudberry-db-incubating-rpm-build-artifacts-rocky${{
matrix.rocky_version }}
path: ${{ github.workspace }}/rpm_build_artifacts
@@ -1255,7 +1255,7 @@ jobs:
- name: Download Cloudberry Source build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name:
apache-cloudberry-db-incubating-source-build-artifacts-rocky${{
matrix.rocky_version }}
path: ${{ github.workspace }}/source_build_artifacts
@@ -1916,7 +1916,7 @@ jobs:
- name: Upload test logs
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: test-logs-${{ matrix.test }}-rocky${{ matrix.rocky_version }}
path: |
@@ -1925,7 +1925,7 @@ jobs:
- name: Upload Test Metadata
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: test-metadata-${{ matrix.test }}-rocky${{ matrix.rocky_version
}}
path: |
@@ -1933,7 +1933,7 @@ jobs:
retention-days: ${{ env.LOG_RETENTION_DAYS }}
- name: Upload test results files
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: results-${{ matrix.test }}-rocky${{ matrix.rocky_version }}
path: |
@@ -1944,7 +1944,7 @@ jobs:
- name: Upload test regression logs
if: failure() || cancelled()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: regression-logs-${{ matrix.test }}-rocky${{
matrix.rocky_version }}
path: |
diff --git a/.github/workflows/build-dbg-cloudberry.yml
b/.github/workflows/build-dbg-cloudberry.yml
index 660447348e9..4c3c4fd0e27 100644
--- a/.github/workflows/build-dbg-cloudberry.yml
+++ b/.github/workflows/build-dbg-cloudberry.yml
@@ -338,7 +338,7 @@ jobs:
- name: Checkout Apache Cloudberry
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
with:
fetch-depth: 1
submodules: true
@@ -554,7 +554,7 @@ jobs:
- name: Upload build logs
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: build-logs-${{ env.BUILD_TIMESTAMP }}
path: |
@@ -563,7 +563,7 @@ jobs:
- name: Upload Cloudberry RPM build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: apache-cloudberry-db-incubating-rpm-build-artifacts
retention-days: ${{ env.LOG_RETENTION_DAYS }}
@@ -573,7 +573,7 @@ jobs:
- name: Upload Cloudberry source build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: apache-cloudberry-db-incubating-source-build-artifacts
retention-days: ${{ env.LOG_RETENTION_DAYS }}
@@ -606,7 +606,7 @@ jobs:
- name: Download Cloudberry RPM build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: apache-cloudberry-db-incubating-rpm-build-artifacts
path: ${{ github.workspace }}/rpm_build_artifacts
@@ -733,7 +733,7 @@ jobs:
- name: Upload install logs
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: install-logs-${{ needs.build.outputs.build_timestamp }}
path: |
@@ -983,7 +983,7 @@ jobs:
- name: Download Cloudberry RPM build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: apache-cloudberry-db-incubating-rpm-build-artifacts
path: ${{ github.workspace }}/rpm_build_artifacts
@@ -991,7 +991,7 @@ jobs:
- name: Download Cloudberry Source build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: apache-cloudberry-db-incubating-source-build-artifacts
path: ${{ github.workspace }}/source_build_artifacts
@@ -1556,7 +1556,7 @@ jobs:
- name: Upload test logs
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: test-logs-${{ matrix.test }}-${{
needs.build.outputs.build_timestamp }}
path: |
@@ -1565,7 +1565,7 @@ jobs:
- name: Upload Test Metadata
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: test-metadata-${{ matrix.test }}
path: |
@@ -1573,7 +1573,7 @@ jobs:
retention-days: ${{ env.LOG_RETENTION_DAYS }}
- name: Upload test results files
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: results-${{ matrix.test }}-${{
needs.build.outputs.build_timestamp }}
path: |
@@ -1584,7 +1584,7 @@ jobs:
- name: Upload test regression logs
if: failure() || cancelled()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: regression-logs-${{ matrix.test }}-${{
needs.build.outputs.build_timestamp }}
path: |
diff --git a/.github/workflows/build-deb-cloudberry.yml
b/.github/workflows/build-deb-cloudberry.yml
index 3072c7e24a5..e4232cd4a04 100644
--- a/.github/workflows/build-deb-cloudberry.yml
+++ b/.github/workflows/build-deb-cloudberry.yml
@@ -426,7 +426,7 @@ jobs:
echo "BUILD_TIMESTAMP=$timestamp" | tee -a "$GITHUB_ENV" # Also set
as environment variable
- name: Checkout Apache Cloudberry
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
with:
fetch-depth: 1
submodules: true
@@ -659,7 +659,7 @@ jobs:
} >> "$GITHUB_STEP_SUMMARY"
- name: Upload build logs
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: build-logs-ubuntu${{ matrix.ubuntu_version }}-${{
env.BUILD_TIMESTAMP }}
path: |
@@ -667,7 +667,7 @@ jobs:
retention-days: ${{ env.LOG_RETENTION_DAYS }}
- name: Upload Cloudberry DEB build artifacts
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: apache-cloudberry-db-incubating-deb-build-artifacts-ubuntu${{
matrix.ubuntu_version }}
retention-days: ${{ env.LOG_RETENTION_DAYS }}
@@ -677,7 +677,7 @@ jobs:
deb/*.ddeb
- name: Upload Cloudberry deb source build artifacts
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name:
apache-cloudberry-db-incubating-deb-source-build-artifacts-ubuntu${{
matrix.ubuntu_version }}
retention-days: ${{ env.LOG_RETENTION_DAYS }}
@@ -748,7 +748,7 @@ jobs:
- name: Download Cloudberry DEB build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: apache-cloudberry-db-incubating-deb-build-artifacts-ubuntu${{
matrix.ubuntu_version }}
path: ${{ github.workspace }}/deb_build_artifacts
@@ -881,7 +881,7 @@ jobs:
} 2>&1 | tee -a install-logs/details/deb-installation.log
- name: Upload install logs
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: install-logs-ubuntu${{ matrix.ubuntu_version }}-${{
needs.build-deb.outputs.build_timestamp }}
path: |
@@ -1160,7 +1160,7 @@ jobs:
- name: Download Cloudberry DEB build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: apache-cloudberry-db-incubating-deb-build-artifacts-ubuntu${{
matrix.ubuntu_version }}
path: ${{ github.workspace }}/deb_build_artifacts
@@ -1170,7 +1170,7 @@ jobs:
- name: Download Cloudberry Source build artifacts
if: needs.check-skip.outputs.should_skip != 'true'
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name:
apache-cloudberry-db-incubating-deb-source-build-artifacts-ubuntu${{
matrix.ubuntu_version }}
path: ${{ github.workspace }}/source_build_artifacts
@@ -1819,7 +1819,7 @@ jobs:
- name: Upload test logs
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: test-logs-${{ matrix.test }}-ubuntu${{ matrix.ubuntu_version
}}-${{ needs.build-deb.outputs.build_timestamp }}
path: |
@@ -1828,7 +1828,7 @@ jobs:
- name: Upload Test Metadata
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: test-metadata-${{ matrix.test }}-ubuntu${{
matrix.ubuntu_version }}
path: |
@@ -1836,7 +1836,7 @@ jobs:
retention-days: ${{ env.LOG_RETENTION_DAYS }}
- name: Upload test results files
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: results-${{ matrix.test }}-ubuntu${{ matrix.ubuntu_version
}}-${{ needs.build-deb.outputs.build_timestamp }}
path: |
@@ -1847,7 +1847,7 @@ jobs:
- name: Upload test regression logs
if: failure() || cancelled()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: regression-logs-${{ matrix.test }}-ubuntu${{
matrix.ubuntu_version }}-${{ needs.build-deb.outputs.build_timestamp }}
path: |
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index e41ae6f2ae0..c6535407484 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -59,7 +59,7 @@ jobs:
steps:
- name: Checkout Apache Cloudberry
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
with:
fetch-depth: 1
submodules: true
diff --git a/.github/workflows/docker-cbdb-build-containers.yml
b/.github/workflows/docker-cbdb-build-containers.yml
index 538b4e9b179..71e2a403002 100644
--- a/.github/workflows/docker-cbdb-build-containers.yml
+++ b/.github/workflows/docker-cbdb-build-containers.yml
@@ -87,7 +87,7 @@ jobs:
steps:
# Checkout repository code with full history
- name: Checkout code
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
# Generate version information for image tags
# - BUILD_DATE: Current date in YYYYMMDD format
diff --git a/.github/workflows/docker-cbdb-test-containers.yml
b/.github/workflows/docker-cbdb-test-containers.yml
index 4d0fb8def33..eee8fafea2f 100644
--- a/.github/workflows/docker-cbdb-test-containers.yml
+++ b/.github/workflows/docker-cbdb-test-containers.yml
@@ -74,7 +74,7 @@ jobs:
steps:
# Checkout repository code
- name: Checkout code
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
# Generate version information for image tags
- name: Set version
diff --git a/.github/workflows/package-convenience-binaries.yml
b/.github/workflows/package-convenience-binaries.yml
index fd94047ef9d..d8ca3ac4922 100644
--- a/.github/workflows/package-convenience-binaries.yml
+++ b/.github/workflows/package-convenience-binaries.yml
@@ -242,7 +242,7 @@ jobs:
- name: Checkout git ref for test packaging
if: github.event.inputs.source_mode == 'git_ref_test'
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
with:
ref: ${{ github.event.inputs.git_ref }}
fetch-depth: 1
@@ -313,7 +313,7 @@ jobs:
} >> "$GITHUB_STEP_SUMMARY"
- name: Upload verified source release
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ${{ steps.validate.outputs.artifact_name }}
retention-days: ${{ env.LOG_RETENTION_DAYS }}
@@ -376,7 +376,7 @@ jobs:
su - gpadmin -c "/tmp/init_system.sh"
- name: Download verified source release
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ${{ needs.verify-source-release.outputs.artifact_name }}
path: ${{ github.workspace }}/verified-source
@@ -522,7 +522,7 @@ jobs:
} >> "$GITHUB_STEP_SUMMARY"
- name: Upload convenience package artifacts
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: packages-${{ matrix.platform.target_os }}-${{
matrix.platform.target_arch }}-${{ matrix.platform.package_type }}
retention-days: ${{ env.LOG_RETENTION_DAYS }}
@@ -568,7 +568,7 @@ jobs:
su - gpadmin -c "/tmp/init_system.sh"
- name: Download package artifacts
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: packages-${{ matrix.platform.target_os }}-${{
matrix.platform.target_arch }}-${{ matrix.platform.package_type }}
path: ${{ github.workspace }}/package-artifacts
diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml
index 7abd2c258d1..a4229c483b5 100644
--- a/.github/workflows/sonarqube.yml
+++ b/.github/workflows/sonarqube.yml
@@ -70,7 +70,7 @@ jobs:
steps:
- name: Checkout Apache Cloudberry
- uses: actions/checkout@v4
+ uses: actions/checkout@v7
with:
fetch-depth: 0 # Shallow clones should be disabled for a better
relevancy of analysis
submodules: true
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]