Skip to content

Commit efc43ac

Browse files
committed
fix: correct yao-pkg command in GitHub Actions workflow
Change npx yao-pkg to npx @yao-pkg/pkg to match the scoped package name. This fixes the 404 error when trying to run the packaging step.
1 parent 48667be commit efc43ac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ jobs:
102102
103103
# Package with yao-pkg based on platform/arch
104104
if [[ "${{ matrix.platform }}" == "win" ]]; then
105-
npx yao-pkg . --targets node20-win-${{ matrix.arch }} --output dist/${{ matrix.output }}
105+
npx @yao-pkg/pkg . --targets node20-win-${{ matrix.arch }} --output dist/${{ matrix.output }}
106106
elif [[ "${{ matrix.platform }}" == "mac" ]]; then
107-
npx yao-pkg . --targets node20-macos-${{ matrix.arch }} --output dist/${{ matrix.output }}
107+
npx @yao-pkg/pkg . --targets node20-macos-${{ matrix.arch }} --output dist/${{ matrix.output }}
108108
elif [[ "${{ matrix.platform }}" == "linux" ]]; then
109-
npx yao-pkg . --targets node20-linux-${{ matrix.arch }} --output dist/${{ matrix.output }}
109+
npx @yao-pkg/pkg . --targets node20-linux-${{ matrix.arch }} --output dist/${{ matrix.output }}
110110
fi
111111
112112
- name: Upload Build Artifacts

0 commit comments

Comments
 (0)