From 4f270fe7b17406e9b45d923b6c8cb7bb94fe6949 Mon Sep 17 00:00:00 2001 From: Seto Elkahfi Date: Fri, 27 Nov 2026 17:50:48 +0100 Subject: [PATCH] Move release workflows off Node 20 actions upload-artifact, download-artifact, setup-dotnet and the winget checkout were still on v4, which targets Node 20. GitHub now forces them onto Node 24 and prints a deprecation warning on every PyPI and NuGet build. Bump them to the first majors that declare node24. Co-Authored-By: Claude Sonnet 5.5 Co-Authored-By: siGit Code v1.7.11 Co-Authored-By: OndeCode v1.1.3 --- .github/workflows/release-nuget.yml | 16 ++++++++-------- .github/workflows/release-pypi.yml | 6 +++--- .github/workflows/release-winget.yml | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release-nuget.yml b/.github/workflows/release-nuget.yml index afcf7ae..b6a6c26 100644 --- a/.github/workflows/release-nuget.yml +++ b/.github/workflows/release-nuget.yml @@ -108,7 +108,7 @@ jobs: "nuget-artifacts/native/${{ matrix.build.NAME }}/${executable_name}" - name: Upload native artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: nuget-native-${{ matrix.build.NAME }} path: nuget-artifacts/native @@ -135,14 +135,14 @@ jobs: echo "RELEASE_VERSION=${release_version}" >> "$GITHUB_ENV" - name: Download native artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: pattern: nuget-native-* path: packaging/nuget/onde-code/native merge-multiple: true - name: Setup .NET SDK - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: dotnet-version: ${{ env.DOTNET_VERSION }} @@ -174,7 +174,7 @@ jobs: fi - name: Upload package artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: nuget-package path: packaging/nuget/dist/*.nupkg @@ -208,13 +208,13 @@ jobs: echo "RELEASE_VERSION=${release_version}" >> "$GITHUB_ENV" - name: Download package artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: nuget-package path: packaging/nuget/dist - name: Setup .NET SDK - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: dotnet-version: ${{ env.DOTNET_VERSION }} @@ -284,13 +284,13 @@ jobs: echo "RELEASE_VERSION=${release_version}" >> "$GITHUB_ENV" - name: Download package artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: nuget-package path: packaging/nuget/dist - name: Setup .NET SDK - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: dotnet-version: ${{ env.DOTNET_VERSION }} diff --git a/.github/workflows/release-pypi.yml b/.github/workflows/release-pypi.yml index f6e0068..31a97ea 100644 --- a/.github/workflows/release-pypi.yml +++ b/.github/workflows/release-pypi.yml @@ -138,7 +138,7 @@ jobs: run: ./packaging/windows/check-static-crt.ps1 -Path "$env:BIN_DIR/$env:EXE" - name: Upload wheel artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: wheels-${{ matrix.build.NAME }} path: packaging/pypi/onde-code/dist/* @@ -162,7 +162,7 @@ jobs: args: --out dist - name: Upload sdist artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: sdist path: packaging/pypi/onde-code/dist/* @@ -192,7 +192,7 @@ jobs: echo "RELEASE_VERSION=${release_version}" >> "$GITHUB_ENV" - name: Download distribution artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: pattern: "{wheels-*,sdist}" path: dist diff --git a/.github/workflows/release-winget.yml b/.github/workflows/release-winget.yml index 4bd6bab..1287d32 100644 --- a/.github/workflows/release-winget.yml +++ b/.github/workflows/release-winget.yml @@ -46,7 +46,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Resolve tag, version and release date id: release