fix: default skill doc path in load step
This commit is contained in:
parent
dab9b862ba
commit
d6ce01e6a7
|
|
@ -26,6 +26,9 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [ -z "${SKILL_DOC_PATH:-}" ]; then
|
||||
SKILL_DOC_PATH="SKILL.md"
|
||||
fi
|
||||
DOC_ABS_PATH="${SKILL_SUBPATH:+$SKILL_SUBPATH/}${SKILL_DOC_PATH}"
|
||||
if [ ! -f "$DOC_ABS_PATH" ]; then
|
||||
if [ -f "${SKILL_SUBPATH:+$SKILL_SUBPATH/}README.md" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue