Skip to content

Commit c7e5f1a

Browse files
committed
ci: scope the release packaging glob to binary artifacts
The sdk job's lem-sdks artifact (alive again since the 2.40.0 pin fix) matched the lem-*/ packaging glob and its directory listing was treated as a binary name. cpu/metal globs only, with an unmatched-glob guard for the dormant metal lane. Co-Authored-By: Virgil <virgil@lethean.io>
1 parent f42f7b4 commit c7e5f1a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ jobs:
140140
VERSION="dev-${GITHUB_SHA:0:12}"
141141
mkdir -p out
142142
cd dist
143-
for d in lem-*/; do
143+
# ONLY the binary artifacts (lem-cpu-*, lem-metal-*) — lem-sdks also
144+
# lands in dist/ and must never enter the packaging loop.
145+
for d in lem-cpu-*/ lem-metal-*/; do
146+
[ -d "$d" ] || continue # unmatched glob (metal skipped)
144147
name="${d%/}" # e.g. lem-cpu-macos-aarch64
145148
IFS=- read -r _ backend os arch <<< "$name" # backend/os/arch from the name
146149
bin="$(ls "$d")" # lem or lem.exe

0 commit comments

Comments
 (0)