You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Split target (logical name) for library filename
160
173
ARCH=$(echo "$TARGET" | cut -d'-' -f1)
161
174
OS=$(echo "$TARGET" | cut -d'-' -f3)
162
175
ABI=$(echo "$TARGET" | cut -d'-' -f4)
@@ -172,20 +185,23 @@ jobs:
172
185
LIB_NAME="slim_bindings_${ARCH}_${OS}"
173
186
fi
174
187
175
-
# Handle both libslim_bindings* (Unix) and slim_bindings* (Windows)
176
-
for file in ../../target/${{ matrix.platform.target }}/release/libslim_bindings* ../../target/${{ matrix.platform.target }}/release/slim_bindings.*; do
188
+
# Rename in place in the cargo output directory
189
+
for file in "$RELEASE_DIR"/libslim_bindings* "$RELEASE_DIR"/slim_bindings.*; do
177
190
if [ -f "$file" ]; then
178
191
filename=$(basename "$file")
179
-
180
-
# Replace slim_bindings with arch_os_abi version, keeping any existing prefix
0 commit comments