Skip to content

Commit 3661a33

Browse files
ci: zephyr: fix Linux/Windows artifact comparison
Preserve the complete artifact suffix when deriving Linux artifact names from Windows artifact names. Fixes #11148 Signed-off-by: Piotr Hoppe <piotr.hoppe@intel.com>
1 parent b6142ca commit 3661a33

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/zephyr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,8 @@ jobs:
511511
512512
set -x
513513
for windir in windows-build*; do
514-
lindir=linux-"${windir#windows-}"
514+
# Remove "windows-build" prefix and prepend "linux-build"
515+
lindir="linux-build${windir#windows-build}"
515516
diff -qr "$lindir" "$windir" || : $((diffs++))
516517
done
517518
exit $diffs

0 commit comments

Comments
 (0)