From d9275ffa376f41c4380d608ff793f56bf43050b7 Mon Sep 17 00:00:00 2001 From: Ray Walker Date: Sun, 17 May 2026 12:02:21 +1000 Subject: [PATCH] fix(ci): use --output-dir instead of removed --artifacts-dir napi flag @napi-rs/cli v3 renamed the artifacts-collection flag from --artifacts-dir to --output-dir (also accepts -o / -d). The build-native.yml publish job still passed --artifacts-dir, so the "Move artifacts to platform packages" step failed with "Unsupported option name" on the cachekit-core-ts-v0.1.1 tag push (run id 24957357035), blocking publication of all 5 platform packages plus the main core-ts package. Verified against napi artifacts --help in @napi-rs/cli@3.5.1 locally: --output-dir,-o,-d #0 Path to the folder where all built .node files put, same as --output-dir of build command No other flag deprecations affect the publish step. The download target directory (packages/cachekit-core-ts/artifacts) is unchanged. --- .github/workflows/build-native.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-native.yml b/.github/workflows/build-native.yml index 9061d82..300944b 100644 --- a/.github/workflows/build-native.yml +++ b/.github/workflows/build-native.yml @@ -164,7 +164,8 @@ jobs: - name: Move artifacts to platform packages working-directory: packages/cachekit-core-ts - run: npx napi artifacts --artifacts-dir artifacts + # @napi-rs/cli v3 renamed --artifacts-dir to --output-dir. + run: npx napi artifacts --output-dir artifacts - name: List platform packages working-directory: packages/cachekit-core-ts