Skip to content

Commit 17857e6

Browse files
committed
Fetch packaging scripts from OpenClaw source
1 parent 65cb1a1 commit 17857e6

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/validate.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,16 @@ jobs:
3737
python3 openclaw-fullstack-dev/scripts/verify_starter_template.py "$template" "$dest"
3838
done
3939
40-
- name: Fetch packaging script from OpenClaw npm tarball
40+
- name: Fetch packaging scripts from OpenClaw source
4141
run: |
4242
set -euo pipefail
43-
TMPDIR="$(mktemp -d)"
44-
cd "$TMPDIR"
45-
npm pack openclaw >/dev/null
46-
TARFILE="$(ls openclaw-*.tgz | head -n1)"
47-
tar -xOf "$TARFILE" package/skills/skill-creator/scripts/package_skill.py > /tmp/package_skill.py
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
4846
4947
- name: Package distributable skill
5048
run: |
51-
python3 /tmp/package_skill.py ./openclaw-fullstack-dev ./dist
49+
PYTHONPATH=/tmp python3 /tmp/package_skill.py ./openclaw-fullstack-dev ./dist
5250
test -f ./dist/openclaw-fullstack-dev.skill
5351
5452
starter-smoke:

0 commit comments

Comments
 (0)