More robust nibtools build
release / build (push) Failing after 2m7s

This commit is contained in:
ml
2026-07-02 14:27:55 +02:00
parent 84c47136df
commit 2117043e31
@@ -42,7 +42,11 @@ fi
if [ ! -d "${SRC}" ]; then if [ ! -d "${SRC}" ]; then
echo "Unpacking nibtools..." echo "Unpacking nibtools..."
tar -xzf "${TARBALL}" -C "${SCRIPT_DIR}" tar -xzf "${TARBALL}" -C "${SCRIPT_DIR}"
mv "${SCRIPT_DIR}"/nibtools-*/ "${SRC}" # Hardcoded, not a glob: on a non-ephemeral runner workspace, a
# nibtools-*/ glob can also match SRC itself once it exists, or other
# stray nibtools-prefixed leftovers, and mv then fails with "target is
# not a directory" (multiple sources, no existing target dir).
mv "${SCRIPT_DIR}/nibtools-91344e0ee3" "${SRC}"
echo "Unpacked to ${SRC}" echo "Unpacked to ${SRC}"
fi fi