From be1bbbcc012916c0f13d248d441165aa770d0a66 Mon Sep 17 00:00:00 2001 From: Sanchit Rk <0xsanchit@gmail.com> Date: Mon, 12 Oct 2026 01:11:02 +0530 Subject: [PATCH] ci: move artifact actions to Node 24 releases upload-artifact v4 and download-artifact v4 target Node 20, which GitHub runners now force onto Node 24 with a deprecation warning. v7 and v8 run on Node 24. Their breaking changes don't apply here: downloads are by name pattern, not ID, and v8 now fails on a digest mismatch instead of warning. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/canary.yml | 2 +- .github/workflows/tui.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 9bd4aab5..f8f4c407 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -35,7 +35,7 @@ jobs: - run: vp check packages scripts .github - run: vp run --filter './packages/*' --concurrency-limit 2 typecheck # One directory per platform package; each package's build stages its binary from here. - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: pattern: tui-* path: packages/tui/dist/bin diff --git a/.github/workflows/tui.yml b/.github/workflows/tui.yml index eeb91336..7a8f937b 100644 --- a/.github/workflows/tui.yml +++ b/.github/workflows/tui.yml @@ -57,7 +57,7 @@ jobs: - if: runner.os == 'Linux' name: Require a static binary run: file target/${{ matrix.target }}/release/codework-tui | grep -E "static(-pie)? linked|statically linked" - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: ${{ matrix.package }} path: packages/tui/target/${{ matrix.target }}/release/codework-tui