File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -169,18 +169,23 @@ jobs:
169169
170170 - name : Move artifacts
171171 run : |
172- # Move .node files to root
173- find . -type f -name "*.node" -exec mv {} . \;
172+ echo "Debug: Showing all downloaded artifacts:"
173+ find . -type f -name "*.node" -ls
174174
175- # Count .node files
176- node_count=$(ls -1 *.node 2>/dev/null | wc -l)
177- expected_count=5 # We target 5 platforms
175+ echo "\nMoving only cel-typescript binaries to root:"
176+ find . -type f -name "cel-typescript.*.node" -exec mv {} . \;
177+
178+ echo "\nBinaries in root directory:"
179+ ls -la cel-typescript.*.node
178180
179- echo "Found $node_count .node files (expected $expected_count)"
180- ls -la *.node
181+ # Count our binaries
182+ node_count=$(ls -1 cel-typescript.*.node 2>/dev/null | wc -l)
183+ expected_count=5 # We target 5 platforms
181184
185+ echo "\nFound $node_count cel-typescript binaries (expected $expected_count)"
186+
182187 if [ "$node_count" -ne "$expected_count" ]; then
183- echo "Error: Expected $expected_count .node files but found $node_count"
188+ echo "Error: Expected $expected_count binaries but found $node_count"
184189 exit 1
185190 fi
186191
Original file line number Diff line number Diff line change 1111 " {workspaceRoot}/cel-typescript.darwin-arm64.node" ,
1212 " {workspaceRoot}/cel-typescript.darwin-x64.node" ,
1313 " {workspaceRoot}/cel-typescript.linux-x64-gnu.node" ,
14+ " {workspaceRoot}/cel-typescript.linux-arm64-gnu.node" ,
1415 " {workspaceRoot}/cel-typescript.win32-x64-msvc.node"
1516 ]
1617 },
You can’t perform that action at this time.
0 commit comments