nix-flake-outputs-size/utils.sh
Jalil David Salamé Messina 39f58ee538
refactor!(action): detect when in private branches
This removes the need to use the private-repo-workaround input.
2024-12-19 22:43:51 +01:00

19 lines
191 B
Bash
Executable file

log() {
echo "$@" >&2
}
warn() {
log "\e[0;33m[ERROR]:" "$@" "\e[0m"
}
error() {
log "\e[0;31m[WARN]:" "$@" "\e[0m"
}
group() {
log "::group::$1"
}
endgroup() {
log '::endgroup::'
}