File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,16 +37,18 @@ jobs:
3737 python3 openclaw-fullstack-dev/scripts/verify_starter_template.py "$template" "$dest"
3838 done
3939
40- - name : Fetch packaging scripts from OpenClaw source
40+ - name : Download OpenClaw npm package for packaging script
4141 run : |
42- set -euo pipefail
43- BASE_URL="https://raw.githubusercontent.com/openclaw/openclaw/main/skills/skill-creator/scripts"
44- curl -fsSL "$BASE_URL/package_skill.py" -o /tmp/package_skill.py
45- curl -fsSL "$BASE_URL/quick_validate.py" -o /tmp/quick_validate.py
42+ cd /tmp
43+ npm pack openclaw --silent
44+ rm -rf /tmp/openclaw-npm
45+ mkdir -p /tmp/openclaw-npm
46+ tar -xzf /tmp/openclaw-*.tgz -C /tmp/openclaw-npm
47+ test -f /tmp/openclaw-npm/package/skills/skill-creator/scripts/package_skill.py
4648
4749 - name : Package distributable skill
4850 run : |
49- PYTHONPATH=/tmp python3 /tmp/package_skill.py ./openclaw-fullstack-dev ./dist
51+ python3 /tmp/openclaw-npm/package/skills/skill-creator/scripts /package_skill.py ./openclaw-fullstack-dev ./dist
5052 test -f ./dist/openclaw-fullstack-dev.skill
5153
5254 starter-smoke :
You can’t perform that action at this time.
0 commit comments