This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 3f47fa73287 HDDS-14833. Bump GitHub action versions (#9916)
3f47fa73287 is described below
commit 3f47fa732873fb9a5e22c79bbb4ba7bdd347309f
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sat Mar 14 11:56:01 2026 +0100
HDDS-14833. Bump GitHub action versions (#9916)
---
.github/workflows/build-ratis.yml | 10 ++++-----
.github/workflows/check.yml | 24 ++++++++++----------
.github/workflows/ci.yml | 16 ++++++-------
.github/workflows/generate-config-doc.yml | 8 +++----
.github/workflows/intermittent-test-check.yml | 26 +++++++++++-----------
.github/workflows/label-pr.yml | 2 +-
.github/workflows/populate-cache.yml | 10 ++++-----
.github/workflows/pull-request.yml | 2 +-
.github/workflows/repeat-acceptance.yml | 18 +++++++--------
.github/workflows/update-ozone-site-config-doc.yml | 4 ++--
10 files changed, 60 insertions(+), 60 deletions(-)
diff --git a/.github/workflows/build-ratis.yml
b/.github/workflows/build-ratis.yml
index 7e57cc7b391..bc7819c1251 100644
--- a/.github/workflows/build-ratis.yml
+++ b/.github/workflows/build-ratis.yml
@@ -65,19 +65,19 @@ jobs:
thirdparty-version: ${{ steps.versions.outputs.thirdparty }}
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
repository: ${{ inputs.repo }}
ref: ${{ inputs.ref }}
- name: Cache for maven dependencies
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
~/.m2/repository
!~/.m2/repository/org/apache/ratis
key: ratis-dependencies-${{ hashFiles('**/pom.xml') }}
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 8
@@ -95,7 +95,7 @@ jobs:
mvn -B --no-transfer-progress -Dscan=false versions:set
-DnewVersion=${{ steps.versions.outputs.ratis }}
dev-support/checks/build.sh
- name: Store Maven repo for tests
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ratis-jars
path: |
@@ -112,7 +112,7 @@ jobs:
protobuf-version: ${{ steps.versions.outputs.protobuf }}
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
repository: apache/ratis-thirdparty
ref: ${{ needs.ratis.outputs.thirdparty-version }}
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index edd64fe69a3..37877917c49 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -146,14 +146,14 @@ jobs:
steps:
- name: Checkout project
if: ${{ !inputs.needs-ozone-source-tarball }}
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.sha }}
fetch-depth: ${{ inputs.checkout-fetch-depth }}
- name: Download Ozone source tarball
if: ${{ inputs.needs-ozone-source-tarball }}
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-src
@@ -164,7 +164,7 @@ jobs:
- name: Cache for NPM dependencies
if: ${{ inputs.needs-npm-cache }}
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
~/.pnpm-store
@@ -174,7 +174,7 @@ jobs:
- name: Cache for Maven dependencies
if: ${{ inputs.needs-maven-cache }}
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -186,7 +186,7 @@ jobs:
- name: Download Ozone repo
id: download-ozone-repo
if: ${{ inputs.needs-ozone-repo }}
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-repo
path: |
@@ -194,7 +194,7 @@ jobs:
- name: Download Ratis repo
if: ${{ inputs.ratis-args != '' }}
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ratis-jars
path: |
@@ -202,7 +202,7 @@ jobs:
- name: Download Ozone binary tarball
if: ${{ inputs.needs-ozone-binary-tarball }}
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-bin
@@ -215,7 +215,7 @@ jobs:
- name: Setup java ${{ inputs.java-version }}
if: ${{ inputs.java-version }}
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ inputs.java-version }}
@@ -259,7 +259,7 @@ jobs:
- name: Archive build results
if: ${{ !cancelled() }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ${{ (inputs.split && format('{0}-{1}', inputs.script,
inputs.split)) || inputs.script }}
# please keep path as a single item; move to that directory all
files needed in the artifact
@@ -270,7 +270,7 @@ jobs:
# to avoid the need for 3 more inputs.
- name: Store binaries for tests
if: ${{ inputs.script == 'build' && !cancelled() }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ozone-bin
path: |
@@ -280,7 +280,7 @@ jobs:
- name: Store source tarball for compilation
if: ${{ inputs.script == 'build' && !cancelled() }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ozone-src
path: |
@@ -289,7 +289,7 @@ jobs:
- name: Store Maven repo for tests
if: ${{ inputs.script == 'build' && !cancelled() }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ozone-repo
path: |
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 71c13e61a46..36d4e18d66e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -56,19 +56,19 @@ jobs:
with-coverage: ${{ env.OZONE_WITH_COVERAGE }}
steps:
- name: "Checkout ${{ github.ref }} / ${{ github.sha }} (push)"
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
persist-credentials: false
if: github.event_name == 'push'
- name: "Checkout ${{ github.sha }} with its parent (pull request)"
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
ref: ${{ github.sha }}
fetch-depth: 2
persist-credentials: false
if: github.event_name == 'pull_request'
- name: "Checkout ${{ inputs.ref }} given in workflow input (manual
dispatch)"
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.ref }}
persist-credentials: false
@@ -333,12 +333,12 @@ jobs:
- integration
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ needs.build-info.outputs.sha }}
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -347,7 +347,7 @@ jobs:
restore-keys: |
maven-repo-
- name: Download artifacts
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
path: target/artifacts
- name: Untar binaries
@@ -355,7 +355,7 @@ jobs:
mkdir -p hadoop-ozone/dist/target
tar xzvf target/artifacts/ozone-bin/ozone*.tar.gz -C
hadoop-ozone/dist/target
- name: Setup java ${{ env.TEST_JAVA_VERSION }}
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ env.TEST_JAVA_VERSION }}
@@ -369,7 +369,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: coverage
path: target/coverage
diff --git a/.github/workflows/generate-config-doc.yml
b/.github/workflows/generate-config-doc.yml
index c3844dd8154..b55f7885712 100644
--- a/.github/workflows/generate-config-doc.yml
+++ b/.github/workflows/generate-config-doc.yml
@@ -26,17 +26,17 @@ jobs:
runs-on: ubuntu-slim
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.sha }}
- name: Set up Python
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Download ozone-bin artifact
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-bin
path: ozone-bin
@@ -51,7 +51,7 @@ jobs:
python3 dev-support/ci/xml_to_md.py ozone-bin/extracted
Configurations.md
- name: Upload generated documentation
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: config-documentation
path: Configurations.md
diff --git a/.github/workflows/intermittent-test-check.yml
b/.github/workflows/intermittent-test-check.yml
index f33632956de..fd6bfbaafa1 100644
--- a/.github/workflows/intermittent-test-check.yml
+++ b/.github/workflows/intermittent-test-check.yml
@@ -77,7 +77,7 @@ jobs:
outputs:
matrix: ${{steps.generate.outputs.matrix}}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref }}
- id: generate
@@ -105,11 +105,11 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref }}
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -119,13 +119,13 @@ jobs:
maven-repo-
- name: Download Ratis repo
if: ${{ github.event.inputs.ratis-ref != '' }}
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ratis-jars
path: |
~/.m2/repository/org/apache/ratis
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ github.event.inputs.java-version }}
@@ -144,7 +144,7 @@ jobs:
hadoop-ozone/dev-support/checks/build.sh $args
- name: Store Maven repo for tests
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ozone-repo
path: |
@@ -163,11 +163,11 @@ jobs:
split: ${{fromJson(needs.prepare-job.outputs.matrix)}} # Define
splits
fail-fast: ${{ fromJson(github.event.inputs.fail-fast) }}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref }}
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -177,21 +177,21 @@ jobs:
maven-repo-
- name: Download Ratis repo
if: ${{ github.event.inputs.ratis-ref != '' }}
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ratis-jars
path: |
~/.m2/repository/org/apache/ratis
- name: Download Ozone repo
id: download-ozone-repo
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-repo
path: |
~/.m2/repository/org/apache/ozone
continue-on-error: true
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ github.event.inputs.java-version }}
@@ -228,7 +228,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh
target/unit/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: ${{ failure() }}
with:
name: result-${{ github.run_number }}-${{ github.run_id }}-split-${{
matrix.split }}
@@ -239,7 +239,7 @@ jobs:
runs-on: ubuntu-slim
steps:
- name: Download build results
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
- name: Count failures
run: |
failures=$(find . -name 'summary.txt' | grep --text -v 'iteration' |
xargs grep --text -v 'exit code: 0' | wc -l)
diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml
index 92f826a47a3..02eac2da2c2 100644
--- a/.github/workflows/label-pr.yml
+++ b/.github/workflows/label-pr.yml
@@ -37,7 +37,7 @@ jobs:
fail-fast: false
steps:
- name: "Checkout project" # required for `gh` CLI
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
persist-credentials: false
sparse-checkout: |
diff --git a/.github/workflows/populate-cache.yml
b/.github/workflows/populate-cache.yml
index f2a6843f691..25cf6f95921 100644
--- a/.github/workflows/populate-cache.yml
+++ b/.github/workflows/populate-cache.yml
@@ -34,11 +34,11 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Restore cache for Maven dependencies
id: restore-cache
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -47,7 +47,7 @@ jobs:
- name: Setup Java
if: steps.restore-cache.outputs.cache-hit != 'true'
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 8
@@ -60,7 +60,7 @@ jobs:
- name: Restore NodeJS tarballs
id: restore-nodejs
if: steps.restore-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: ~/.m2/repository/com/github/eirslett/node
key: nodejs-${{ steps.nodejs-version.outputs.nodejs-version }}
@@ -85,7 +85,7 @@ jobs:
- name: Save cache for Maven dependencies
if: steps.restore-cache.outputs.cache-hit != 'true'
- uses: actions/cache/save@v4
+ uses: actions/cache/save@v5
with:
path: |
~/.m2/repository/*/*/*
diff --git a/.github/workflows/pull-request.yml
b/.github/workflows/pull-request.yml
index 052714045cb..1d191feece3 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/workflows/pull-request.yml
@@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-slim
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Check pull request title
env:
TITLE: ${{ github.event.pull_request.title }}
diff --git a/.github/workflows/repeat-acceptance.yml
b/.github/workflows/repeat-acceptance.yml
index 33ae6115175..c662f66d290 100644
--- a/.github/workflows/repeat-acceptance.yml
+++ b/.github/workflows/repeat-acceptance.yml
@@ -56,7 +56,7 @@ jobs:
outputs:
matrix: ${{steps.generate.outputs.matrix}}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref }}
- name: Verify Test Filter
@@ -81,11 +81,11 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout project
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref }}
- name: Cache for npm dependencies
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
~/.pnpm-store
@@ -94,7 +94,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-
- name: Cache for maven dependencies
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: |
~/.m2/repository/*/*/*
@@ -104,7 +104,7 @@ jobs:
maven-repo-${{ hashFiles('**/pom.xml') }}
maven-repo-
- name: Setup java
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
@@ -113,7 +113,7 @@ jobs:
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: Store binaries for tests
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: ozone-bin
path: |
@@ -131,11 +131,11 @@ jobs:
split: ${{ fromJson(needs.prepare-job.outputs.matrix) }}
fail-fast: ${{ fromJson(github.event.inputs.fail-fast) }}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref }}
- name: Download compiled Ozone binaries
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: ozone-bin
- name: Untar binaries
@@ -154,7 +154,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/${{ github.job
}}/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: always()
with:
name: acceptance-${{ matrix.split }}
diff --git a/.github/workflows/update-ozone-site-config-doc.yml
b/.github/workflows/update-ozone-site-config-doc.yml
index 67345b29de5..62f947fc990 100644
--- a/.github/workflows/update-ozone-site-config-doc.yml
+++ b/.github/workflows/update-ozone-site-config-doc.yml
@@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-slim
steps:
- name: Download generated documentation
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
with:
name: config-documentation
path: .
@@ -95,7 +95,7 @@ jobs:
- name: Checkout ozone repository for script access
if: steps.check-changes.outputs.changed == 'true'
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
ref: ${{ github.sha }}
path: ozone-repo
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]