From 55e592fe7d5fd9c69880a4979ac315f9ee901bea Mon Sep 17 00:00:00 2001 From: Mark Callow Date: Fri, 24 Apr 2026 18:30:16 +0900 Subject: [PATCH 1/3] Update checkout action to v6 to avoid deprecated node.js version. --- .github/workflows/android.yml | 2 +- .github/workflows/check-libktx-only.yml | 2 +- .github/workflows/check-mkvk.yml | 2 +- .github/workflows/check-reuse.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/formatting.yml | 2 +- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/mingw.yml | 2 +- .github/workflows/publish-pyktx.yml | 4 ++-- .github/workflows/web.yml | 2 +- .github/workflows/windows.yml | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index e1c317ce98..409a07c741 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -59,7 +59,7 @@ jobs: WERROR: ON steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # Fetch all history to make sure tags are # included (used for version creation) diff --git a/.github/workflows/check-libktx-only.yml b/.github/workflows/check-libktx-only.yml index 61a2a0f978..218a0a46a8 100644 --- a/.github/workflows/check-libktx-only.yml +++ b/.github/workflows/check-libktx-only.yml @@ -91,7 +91,7 @@ jobs: WERROR: ON steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # Fetch all history to make sure tags are # included (used for version creation) diff --git a/.github/workflows/check-mkvk.yml b/.github/workflows/check-mkvk.yml index 808b8d1666..50e9a09391 100644 --- a/.github/workflows/check-mkvk.yml +++ b/.github/workflows/check-mkvk.yml @@ -59,7 +59,7 @@ jobs: WERROR: ON steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Clone KTX-Specification repo run: | diff --git a/.github/workflows/check-reuse.yml b/.github/workflows/check-reuse.yml index c358aa5f3c..03b9717f2d 100644 --- a/.github/workflows/check-reuse.yml +++ b/.github/workflows/check-reuse.yml @@ -27,7 +27,7 @@ jobs: env: GIT_LFS_SKIP_SMUDGE: 1 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9c5f771cce..834d651fbb 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -75,7 +75,7 @@ jobs: BUILD_DIR: build steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # Fetch all history to make sure tags are # included (used for version creation) diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 9fee67c3d5..3bd18e2656 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -16,7 +16,7 @@ jobs: clang-format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Run clang-format uses: jidicula/clang-format-action@v4.13.0 with: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d2c67a8f14..188dbcafbe 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -177,7 +177,7 @@ jobs: VULKAN_SDK_VER: ${{ matrix.vk_sdk_ver }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # Fetch all history to make sure tags are # included (used for version creation) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index a202daa8ca..428b377f0b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -152,7 +152,7 @@ jobs: VULKAN_SDK: /Users/runner/VulkanSDK/${{ matrix.vulkan_sdk_version }}/macOS steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # Fetch all history to make sure tags are # included (used for version creation) diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 18f32da796..d7b495dfd9 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -59,7 +59,7 @@ jobs: WERROR: ON steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # Fetch all history to make sure tags are # included (used for version creation) diff --git a/.github/workflows/publish-pyktx.yml b/.github/workflows/publish-pyktx.yml index 897e72278d..400330d86d 100644 --- a/.github/workflows/publish-pyktx.yml +++ b/.github/workflows/publish-pyktx.yml @@ -78,7 +78,7 @@ jobs: #if: ${{ github.event.workflow_run.conclusion == 'success' }} # Maybe it is possible to test for a release tag here too. steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up .netrc env: @@ -116,7 +116,7 @@ jobs: #if: ${{ github.event.workflow_run.conclusion == 'success' }} # Maybe it is possible to test for a release tag here too. steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up .netrc env: diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index a017dd654f..a076d85b5e 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -115,7 +115,7 @@ jobs: VULKAN_SDK_VERSION: ${{ matrix.vulkan_sdk_version }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # Fetch all history to make sure tags are # included (used for version creation) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f9521ff9fb..9a1f220b19 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -164,7 +164,7 @@ jobs: VULKAN_SDK_VERSION: 1.4.313.2 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # Fetch all history to make sure tags are # included (used for version creation) From c60ee1fe7bfca5456c9ea5235565b8eb5acda783 Mon Sep 17 00:00:00 2001 From: Mark Callow Date: Fri, 24 Apr 2026 20:57:21 +0900 Subject: [PATCH 2/3] Update other Node.js 20 dependent actions. with the exception of ts-graphviz/setup-graphviz for which a Node.js 24 version is not yet available. --- .github/workflows/android.yml | 2 +- .github/workflows/check-libktx-only.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/linux.yml | 8 ++++---- .github/workflows/macos.yml | 8 ++++---- .github/workflows/web.yml | 2 +- .github/workflows/windows.yml | 8 ++++---- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 409a07c741..c6868056dc 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -121,7 +121,7 @@ jobs: # by the preceding steps and uploads the zip. - name: upload artifact id: upload-artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: KTX-Software-${{env.KTX_VERSION}}-Android path: install-android diff --git a/.github/workflows/check-libktx-only.yml b/.github/workflows/check-libktx-only.yml index 218a0a46a8..fd2ed6f26d 100644 --- a/.github/workflows/check-libktx-only.yml +++ b/.github/workflows/check-libktx-only.yml @@ -130,7 +130,7 @@ jobs: - name: Upload artifact libktx if: matrix.static == 'OFF' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: libktx-${{ env.KTX_VERSION }}-${{ runner.os }}-${{ env.ARCH }} path: ${{env.BUILD_DIR_TL}}/Release/*ktx* diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 834d651fbb..aa26af5444 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -87,7 +87,7 @@ jobs: run: git fetch -f origin ${{ github.ref }}:${{ github.ref }} - name: Set up Python 3.11 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.11.4' diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 188dbcafbe..6dec9ec5f8 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -223,7 +223,7 @@ jobs: # Should a specific version of Python ever be wanted, use this. # - name: Set up Python # if: matrix.options.py == 'ON' && matrix.check_mkvk != 'ONLY' -# uses: actions/setup-python@v5 +# uses: actions/setup-python@v6 # with: # python-version: '3.13' @@ -256,7 +256,7 @@ jobs: # Maintaining cross-platform access is desirable so the code can be # easily copied to a multi-platform workflow. NUGET_FEED_URL is set # here to keep the vcpkg cache environment variables together. - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: # JSON in use here. # in the script will break it. # Pre-installed vcpkg location is indicated by a non-standard env. @@ -321,7 +321,7 @@ jobs: # job would attempt to upload a same-named artifact. - name: Upload artifact Install Package if: matrix.options.package == 'YES' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: KTX-Software-${{env.PACKAGE_NAME_SUFFIX}} path: ${{env.BUILD_DIR}}/KTX-Software-*-* @@ -329,7 +329,7 @@ jobs: - name: Upload artifact pyktx if: matrix.options.package == 'YES' && matrix.options.py == 'ON' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: pyktx-${{env.PACKAGE_NAME_SUFFIX}} path: ${{env.BUILD_DIR}}/${{env.PYTHON_DIST_DIR}} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 428b377f0b..6c48f2aa3e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -187,7 +187,7 @@ jobs: # Should a specific version of Python ever be wanted, use this. # - name: Set up Python # if: matrix.options.py == 'ON' && matrix.check_mkvk != 'ONLY' -# uses: actions/setup-python@v5 +# uses: actions/setup-python@v6 # with: # python-version: '3.14' @@ -229,7 +229,7 @@ jobs: # Maintaining cross-platform access is desirable so the code can be # easily copied to a multi-platform workflow. NUGET_FEED_URL is set # here to keep the vcpkg cache environment variables together. - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: # JSON in use here. # in the script will break it. # Pre-installed vcpkg location is indicated by a non-standard env. @@ -305,7 +305,7 @@ jobs: # job would attempt to upload a same-named artifact. - name: Upload artifact Install Package if: matrix.options.package == 'YES' && (matrix.os == 'macos-latest' || matrix.os == 'macos-15-intel') - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: KTX-Software-${{env.PACKAGE_NAME_SUFFIX}} path: ${{env.BUILD_DIR}}/KTX-Software-*-* @@ -313,7 +313,7 @@ jobs: - name: Upload artifact pyktx if: matrix.options.py == 'ON' && matrix.options.package == 'YES' && (matrix.os == 'macos-latest' || matrix.os == 'macos-15-intel') - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: pyktx-${{env.PACKAGE_NAME_SUFFIX}} path: ${{env.BUILD_DIR}}/${{env.PYTHON_DIST_DIR}} diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index a076d85b5e..c861014852 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -189,7 +189,7 @@ jobs: # job would attempt to upload a same-named artifact. - name: Upload artifact Install Package if: matrix.options.package == 'YES' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: KTX-Software-${{env.PACKAGE_NAME_SUFFIX}} path: ${{env.BUILD_DIR}}/KTX-Software-*-* diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9a1f220b19..f678663993 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -211,7 +211,7 @@ jobs: # Maintaining cross-platform access is desirable so the code can be # easily copied to a multi-platform workflow. NUGET_FEED_URL is set # here to keep the vcpkg cache environment variables together. - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: # JSON in use here. # in the script will break it. # Pre-installed vcpkg location is indicated by a non-standard env. @@ -264,7 +264,7 @@ jobs: # Install a version that works. - name: Set up Python 3.12 if: matrix.options.py == 'ON' && matrix.check_mkvk != 'ONLY' - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.12' @@ -349,7 +349,7 @@ jobs: # job would attempt to upload a same-named artifact. - name: Upload artifact Install Package if: matrix.options.package == 'YES' && matrix.toolset == 'CLangCL' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: KTX-Software-${{env.KTX_VERSION}}-Windows-${{matrix.arch}} path: ${{env.BUILD_DIR}}/KTX-Software-*.exe* @@ -357,7 +357,7 @@ jobs: - name: Upload artifact pyktx if: matrix.options.package == 'YES' && matrix.options.py == 'ON' && matrix.toolset == 'CLangCL' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: pyktx-${{env.KTX_VERSION}}-Windows-${{matrix.arch}} path: ${{env.BUILD_DIR}}/${{env.PYTHON_DIST_DIR}} From 2f930a63e1e6b30eb41e6011d09d3c32577f22f7 Mon Sep 17 00:00:00 2001 From: Mark Callow Date: Fri, 24 Apr 2026 22:19:39 +0900 Subject: [PATCH 3/3] Update 2 more actions. --- .github/workflows/docs.yml | 2 +- .github/workflows/windows.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index aa26af5444..56d3d9c767 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -123,7 +123,7 @@ jobs: - name: Upload generated HTML documentation for GitHub Pages if: matrix.os == 'ubuntu-latest' id: deployment - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: ${{ env.BUILD_DIR }}/docs/html diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f678663993..ac07dd75d3 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -247,7 +247,7 @@ jobs: - name: Set up JDK. if: matrix.options.jni == 'ON' && matrix.check_mkvk != 'ONLY' - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: 'temurin' java-version: ${{ matrix.java-version }}