This is an automated email from the ASF dual-hosted git repository. adoroszlai pushed a commit to branch ozone-2.1 in repository https://gitbox.apache.org/repos/asf/ozone.git
commit 66253fa33b6db92ad38ddb345b17e1dd58d9331d Author: Doroszlai, Attila <[email protected]> AuthorDate: Sat Mar 14 11:56:01 2026 +0100 HDDS-14833. Bump GitHub action versions (#9916) (cherry picked from commit 3f47fa732873fb9a5e22c79bbb4ba7bdd347309f) --- .github/workflows/build-ratis.yml | 10 +++++----- .github/workflows/check.yml | 24 ++++++++++++------------ .github/workflows/ci.yml | 16 ++++++++-------- .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 +++++++++--------- 8 files changed, 54 insertions(+), 54 deletions(-) diff --git a/.github/workflows/build-ratis.yml b/.github/workflows/build-ratis.yml index b54d7ec6d55..811aa0fbdd2 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 28e6aafff38..52a0665acc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,19 +57,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 @@ -310,12 +310,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/*/*/* @@ -324,7 +324,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 @@ -332,7 +332,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 }} @@ -346,7 +346,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/intermittent-test-check.yml b/.github/workflows/intermittent-test-check.yml index 797a2d4ee96..28b0d6b5592 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-24.04 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 abc620b7ef0..d233c37138a 100644 --- a/.github/workflows/label-pr.yml +++ b/.github/workflows/label-pr.yml @@ -25,5 +25,5 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v5 + - uses: actions/labeler@v6 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 7ccbb9ef20a..9527d3069c9 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-24.04 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 8640f9fd94b..0f031b379cf 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 }} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
