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