From 89e6883cdf007dd0939fa152fb12cd8f35ed5003 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Sat, 28 Mar 2026 13:23:34 +0900 Subject: [PATCH 1/7] ci: Update actions/checkout to v6 This commit updates the `actions/checkout` action to v6 in preparation for the Node 24 runtime enforcement. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ebe6d04..06a144d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,7 +112,7 @@ jobs: steps: - name: Check out source code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 persist-credentials: false @@ -537,7 +537,7 @@ jobs: echo "WORKSPACE=${WORKSPACE}" >> $GITHUB_ENV - name: Check out source code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false @@ -862,7 +862,7 @@ jobs: echo "WORKSPACE=${WORKSPACE}" >> $GITHUB_ENV - name: Check out source code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false @@ -1047,7 +1047,7 @@ jobs: echo "WORKSPACE=${WORKSPACE}" >> $GITHUB_ENV - name: Check out source code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false @@ -1283,7 +1283,7 @@ jobs: echo "TAR=gtar" >> $GITHUB_ENV - name: Check out source code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: persist-credentials: false @@ -1349,7 +1349,7 @@ jobs: echo "TAR=gtar" >> $GITHUB_ENV - name: Check out source code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: path: repository persist-credentials: false From 387bd2d03a85c275fa07f378ec8bb8c10e9d7de4 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Sat, 28 Mar 2026 13:35:08 +0900 Subject: [PATCH 2/7] ci: Update actions/upload-artifact to v7 This commit updates the `actions/upload-artifact` action to v7 in preparation for the Node 24 runtime enforcement. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/twister.yml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06a144d1..892da1a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -123,7 +123,7 @@ jobs: echo "${VERSION:1}" > version - name: Upload version file - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: version path: version @@ -789,13 +789,13 @@ jobs: - name: Upload toolchain build log if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: log_toolchain_gnu_${{ matrix.host.name }}_${{ matrix.target }} path: ${{ matrix.target }}.log - name: Upload toolchain build artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: toolchain_gnu_${{ matrix.host.name }}_${{ matrix.target }} path: | @@ -940,13 +940,13 @@ jobs: - name: Upload toolchain build log if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: log_toolchain_llvm_${{ matrix.host.name }} path: '*.log' - name: Upload toolchain build artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: toolchain_llvm_${{ matrix.host.name }} path: | @@ -1240,7 +1240,7 @@ jobs: popd - name: Upload toolchain build artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: hosttools_${{ matrix.host.name }} path: | @@ -1306,7 +1306,7 @@ jobs: sha256sum ${ARCHIVE_FILE} > sha256.sum - name: Upload CMake package build artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: cmake_${{ matrix.host.name }} path: | @@ -1532,7 +1532,7 @@ jobs: > sha256.sum - name: Upload distribution bundle - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ env.BUNDLE_ARCHIVE_NAME }} path: | @@ -2000,7 +2000,7 @@ jobs: - name: Publish test results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: test_${{ matrix.testenv.name }}_${{ matrix.toolchain }}_${{ matrix.subset }} if-no-files-found: ignore diff --git a/.github/workflows/twister.yml b/.github/workflows/twister.yml index 87c8620a..8b47bb30 100644 --- a/.github/workflows/twister.yml +++ b/.github/workflows/twister.yml @@ -418,7 +418,7 @@ jobs: - name: Publish test results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: twister_result_subset_${{ matrix.subset }} if-no-files-found: ignore From c8b29b9ab7019fea4a90c0e3be3b042c4b8ea067 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Sat, 28 Mar 2026 13:42:36 +0900 Subject: [PATCH 3/7] ci: Update actions/download-artifact to v8 This commit updates the `actions/download-artifact` action to v8 in preparation for the Node 24 runtime enforcement. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/release.yml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 892da1a5..14a539f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -592,7 +592,7 @@ jobs: ${CT_NG} version - name: Download version information - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: version path: ${{ runner.temp }} @@ -1355,31 +1355,31 @@ jobs: persist-credentials: false - name: Download version file - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: pattern: version path: artifacts - name: Download CMake artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: pattern: cmake_${{ matrix.host.name }} path: artifacts - name: Download host tools artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: pattern: hosttools_${{ matrix.host.name }} path: artifacts - name: Download GNU toolchain artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: pattern: toolchain_gnu_${{ matrix.host.name }}_* path: artifacts - name: Download LLVM toolchain artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: pattern: toolchain_llvm_${{ matrix.host.name }} path: artifacts @@ -1639,7 +1639,7 @@ jobs: echo "VENV_ACTIVATE=${VENV_ACTIVATE}" >> $GITHUB_ENV - name: Download version information - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: version path: artifacts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7dc4efe..7716c538 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: rm -rf ${GITHUB_WORKSPACE}/* - name: Download build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: path: artifacts From d81f65170088169e6b52458e02518bfcfa6e59cf Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Sat, 28 Mar 2026 13:44:07 +0900 Subject: [PATCH 4/7] ci: Revert download-artifact action bug workaround This commit reverts the download-artifact action bug workaround from ac46a7020ebae7f7518b345b53c59ff93c0471d7 because the issue actions/download-artifact#396 is no longer observed with the newer versions of the action. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 19 ++++--------------- .github/workflows/twister.yml | 23 ++++++----------------- 2 files changed, 10 insertions(+), 32 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14a539f0..e5d16b86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1658,21 +1658,10 @@ jobs: echo "BUNDLE_DIR=${BUNDLE_DIR}" >> $GITHUB_ENV - name: Download distribution bundle - # FIXME: download-artifact is buggy and may fail to download some files - # without any errors. For more details, refer to the GitHub issue - # actions/download-artifact#396. - # uses: actions/download-artifact@v4 - # with: - # name: ${{ env.BUNDLE_NAME }} - # path: artifacts - run: | - gh run download \ - -R ${GITHUB_REPOSITORY} \ - ${GITHUB_RUN_ID} \ - -n ${BUNDLE_NAME} \ - -D artifacts - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: actions/download-artifact@v8 + with: + name: ${{ env.BUNDLE_NAME }} + path: artifacts - name: Install distribution bundle run: | diff --git a/.github/workflows/twister.yml b/.github/workflows/twister.yml index 8b47bb30..2a6171e2 100644 --- a/.github/workflows/twister.yml +++ b/.github/workflows/twister.yml @@ -253,23 +253,12 @@ jobs: echo "BUNDLE_EXT=${BUNDLE_EXT}" >> $GITHUB_ENV - name: Download distribution bundle - # FIXME: download-artifact is buggy and may fail to download some files - # without any errors. For more details, refer to the GitHub issue - # actions/download-artifact#396. - # uses: actions/download-artifact@v4 - # with: - # name: ${{ env.BUNDLE_NAME }} - # path: artifacts - # run-id: ${{ github.event.inputs.sdk-build-run-id }} - # github-token: ${{ secrets.GITHUB_TOKEN }} - run: | - gh run download \ - -R ${GITHUB_REPOSITORY} \ - ${{ github.event.inputs.sdk-build-run-id }} \ - -n ${BUNDLE_NAME} \ - -D artifacts - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: actions/download-artifact@v8 + with: + name: ${{ env.BUNDLE_NAME }} + path: artifacts + run-id: ${{ github.event.inputs.sdk-build-run-id }} + github-token: ${{ secrets.GITHUB_TOKEN }} - name: Install distribution bundle run: | From 0384f454dc5d2babd07a9b90a339f8e248dd9ecb Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Sat, 28 Mar 2026 13:51:33 +0900 Subject: [PATCH 5/7] ci: Update aws-actions/configure-aws-credentials to v6 This commit updates the `aws-actions/configure-aws-credentials` action to v6 in preparation for the Node 24 runtime enforcement. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5d16b86..5ed6e138 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -599,7 +599,7 @@ jobs: - name: Configure AWS Credentials if: ${{ github.event_name != 'pull_request' }} - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: aws-access-key-id: ${{ secrets.AWS_CACHE_SDK_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_CACHE_SDK_SECRET_ACCESS_KEY }} @@ -1062,7 +1062,7 @@ jobs: - name: Configure AWS Credentials if: ${{ github.event_name != 'pull_request' }} - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: aws-access-key-id: ${{ secrets.AWS_CACHE_SDK_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_CACHE_SDK_SECRET_ACCESS_KEY }} From 5422207c19e1f528f8c75fef7f2de51aea25ff00 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Sat, 28 Mar 2026 13:58:17 +0900 Subject: [PATCH 6/7] ci: Update actions/setup-python to v6 This commit updates the `actions/setup-python` action to v6 in preparation for the Node 24 runtime enforcement. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 2 +- .github/workflows/twister.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ed6e138..10cb1103 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1566,7 +1566,7 @@ jobs: steps: - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: # Force Python 3.12, which is the minimum Python version supported by # Zephyr and intended to be used with Zephyr SDK. diff --git a/.github/workflows/twister.yml b/.github/workflows/twister.yml index 2a6171e2..42d2010b 100644 --- a/.github/workflows/twister.yml +++ b/.github/workflows/twister.yml @@ -164,7 +164,7 @@ jobs: echo "ZEPHYR_RUNNER_CLOUD_POD = ${ZEPHYR_RUNNER_CLOUD_POD}" - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: # Force Python 3.12, which is the minimum Python version supported by # Zephyr and intended to be used with Zephyr SDK. From cb69d6fefa25cae9502f248e38b486da8b323da1 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Sat, 28 Mar 2026 22:52:38 +0900 Subject: [PATCH 7/7] ci: Do not archive version file Do not archive the version file since there is no reason to do so and GitHub now supports uploading files unarchived. Signed-off-by: Stephanos Ioannidis --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10cb1103..792a6029 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,6 +127,7 @@ jobs: with: name: version path: version + archive: false - name: Generate matrix id: generate-matrix @@ -1391,7 +1392,7 @@ jobs: EXT=${{ matrix.host.archive }} REPO_ROOT=${GITHUB_WORKSPACE}/repository ARTIFACT_ROOT=${GITHUB_WORKSPACE}/artifacts - VERSION=$(<${ARTIFACT_ROOT}/version/version) + VERSION=$(<${ARTIFACT_ROOT}/version) ARCHIVE_DIR=${{ env.BUNDLE_PREFIX }}-${VERSION} ARCHIVE_NAME=${{ env.BUNDLE_PREFIX }}-${VERSION}_${HOST}