1 parent ee36270 commit 9cd1b19Copy full SHA for 9cd1b19
1 file changed
.github/workflows/release.yml
@@ -152,9 +152,10 @@ jobs:
152
153
# Shared library — same rename convention.
154
# matrix.shared is "libvastlint.so" or "libvastlint.dylib"; derive
155
- # the extension and rename the Rust output to match.
156
- EXT="${{ matrix.shared }##*.}"
157
- cp "$OUTDIR/libvastlint_ffi.${EXT}" "$STAGING/${{ matrix.shared }}"
+ # the extension using bash parameter expansion (not Actions expression).
+ SHARED="${{ matrix.shared }}"
+ EXT="${SHARED##*.}"
158
+ cp "$OUTDIR/libvastlint_ffi.${EXT}" "$STAGING/${SHARED}"
159
160
tar czf ${{ matrix.archive }} -C "$STAGING" .
161
0 commit comments