Files
shot-crafter-calculator/.gitea
darroyo 9bae7dfe29
CI / Build Native (push) Failing after 9m5s
fix(ci): use cut instead of bash substring for short SHA (POSIX sh)
The act runner uses /bin/sh (dash on Debian/Ubuntu), not bash.
The syntax ${GITHUB_SHA::7} is bash-specific substring expansion
and throws 'Bad substitution' under dash.

Replace with POSIX-portable equivalent:
    SHORT_SHA=$(echo "$GITHUB_SHA" | cut -c1-7)

Works in any sh-compatible shell (dash, bash, zsh, etc.).
2026-08-12 19:58:09 -04:00
..