From c31d81bad36ece96c25a124bbd5c65da38613a9a Mon Sep 17 00:00:00 2001 From: Sergey Nuyanzin Date: Sun, 3 May 2026 22:18:48 +0200 Subject: [PATCH] [FLINK-39591][ci] Bump actions@checkout, actions@download, actions@upload-artifact, actions@setup-python --- .github/actions/job_init/action.yml | 2 +- .github/workflows/nightly.yml | 6 ++-- .github/workflows/template.flink-ci.yml | 28 +++++++++---------- .../workflows/template.pre-compile-checks.yml | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/actions/job_init/action.yml b/.github/actions/job_init/action.yml index 260e4c8680b45..921af788883d3 100644 --- a/.github/actions/job_init/action.yml +++ b/.github/actions/job_init/action.yml @@ -97,7 +97,7 @@ runs: - name: "Setup Maven package cache" if: ${{ inputs.maven_repo_folder != '' }} - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ inputs.maven_repo_folder }} key: ${{ runner.os }}-ns-${{ steps.cache-ns.outputs.namespace }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.run_id }} diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 749a86c84cde3..d52d725f97c0d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -108,7 +108,7 @@ jobs: os_name: macos steps: - name: "Checkout the repository" - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 persist-credentials: false @@ -119,7 +119,7 @@ jobs: value: ${{ github.workflow }} # Used to host cibuildwheel - name: "Setup Python" - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.x' - name: "Install cibuildwheel" @@ -139,7 +139,7 @@ jobs: # Skip repair on MacOS CIBW_REPAIR_WHEEL_COMMAND_MACOS: "" - name: "Upload python wheels" - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: wheel_${{ matrix.os_name }}_${{ steps.stringify_workflow.outputs.stringified_value }}-${{ github.run_number }} path: flink-python/dist/** diff --git a/.github/workflows/template.flink-ci.yml b/.github/workflows/template.flink-ci.yml index 8d0b0186cf62d..ef4630915fa6b 100644 --- a/.github/workflows/template.flink-ci.yml +++ b/.github/workflows/template.flink-ci.yml @@ -83,7 +83,7 @@ jobs: stringified-workflow-name: ${{ steps.workflow-prep-step.outputs.stringified_value }} steps: - name: "Flink Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: persist-credentials: false @@ -115,7 +115,7 @@ jobs: ./tools/azure-pipelines/create_build_artifact.sh - name: "Upload artifacts to make them available in downstream jobs" - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: build-artifacts-${{ steps.workflow-prep-step.outputs.stringified_value }}-${{ github.run_number }} path: ${{ env.FLINK_ARTIFACT_DIR }}/${{ env.FLINK_ARTIFACT_FILENAME }} @@ -135,7 +135,7 @@ jobs: steps: - name: "Flink Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: persist-credentials: false @@ -148,7 +148,7 @@ jobs: target_directory: ${{ env.CONTAINER_LOCAL_WORKING_DIR }} - name: "Download build artifacts from compile job" - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: build-artifacts-${{ needs.compile.outputs.stringified-workflow-name }}-${{ github.run_number }} path: ${{ env.FLINK_ARTIFACT_DIR }} @@ -197,7 +197,7 @@ jobs: steps: - name: "Flink Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: persist-credentials: false @@ -214,7 +214,7 @@ jobs: run: sudo sysctl -w kernel.core_pattern=core.%p - name: "Download build artifacts from compile job" - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: build-artifacts-${{ needs.compile.outputs.stringified-workflow-name }}-${{ github.run_number }} path: ${{ env.FLINK_ARTIFACT_DIR }} @@ -226,7 +226,7 @@ jobs: - name: "Try loading Docker images from Cache" id: docker-cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.DOCKER_IMAGES_CACHE_FOLDER }} key: ${{ matrix.module }}-docker-${{ runner.os }}-${{ hashFiles('**/cache_docker_images.sh', '**/flink-test-utils-parent/**/DockerImageVersions.java') }} @@ -265,7 +265,7 @@ jobs: run: find ${{ steps.test-run.outputs.debug-files-output-dir }} -type f -exec rename 's/[:<>|*?]/-/' {} \; - name: "Upload build artifacts" - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: ${{ failure() && steps.test-run.outputs.debug-files-output-dir }} != '' with: name: logs-test-${{ needs.compile.outputs.stringified-workflow-name }}-${{ github.run_number }}-${{ matrix.stringified-module-name }}-${{ steps.test-run.outputs.debug-files-name }} @@ -305,7 +305,7 @@ jobs: steps: - name: "Flink Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: persist-credentials: false @@ -326,7 +326,7 @@ jobs: sudo apt install ./libssl1.0.0_*.deb - name: "Download build artifacts from compile job" - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: build-artifacts-${{ needs.compile.outputs.stringified-workflow-name }}-${{ github.run_number }} path: ${{ env.FLINK_ARTIFACT_DIR }} @@ -343,13 +343,13 @@ jobs: mkdir -p ${{ env.DOCKER_IMAGES_CACHE_FOLDER }} - name: "Load E2E files from Cache" - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.E2E_CACHE_FOLDER }} key: e2e-cache-${{ matrix.group }}-${{ hashFiles('**/flink-end-to-end-tests/**/*.java', '!**/avro/**') }} - name: "Load E2E artifacts from Cache" - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.E2E_TARBALL_CACHE }} key: e2e-artifact-cache-${{ matrix.group }}-${{ hashFiles('**/flink-end-to-end-tests/**/*.sh') }} @@ -357,7 +357,7 @@ jobs: - name: "Try loading Docker images from Cache" id: docker-cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.DOCKER_IMAGES_CACHE_FOLDER }} key: e2e-${{ matrix.group }}-docker-${{ runner.os }}-${{ hashFiles('**/cache_docker_images.sh', '**/flink-test-utils-parent/**/DockerImageVersions.java') }} @@ -384,7 +384,7 @@ jobs: flink-end-to-end-tests/run-nightly-tests.sh ${{ matrix.group }} - name: "Upload Logs" - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: ${{ failure() && steps.test-run.outputs.debug-files-output-dir != '' }} with: name: logs-e2e-${{ needs.compile.outputs.stringified-workflow-name }}-${{ github.run_number }}-${{ matrix.group }}-${{ steps.test-run.outputs.debug-files-name }} diff --git a/.github/workflows/template.pre-compile-checks.yml b/.github/workflows/template.pre-compile-checks.yml index a70d99124200b..9ffd3f5e89921 100644 --- a/.github/workflows/template.pre-compile-checks.yml +++ b/.github/workflows/template.pre-compile-checks.yml @@ -50,7 +50,7 @@ jobs: steps: - name: "Flink Checkout" - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: persist-credentials: false