Skip to content

Commit f609467

Browse files
committed
fix: use npm to install ClawHub CLI instead of non-existent install script
The previous workflow used curl to download from https://clawhub.com/install.sh which does not exist. Changed to install via npm (npm install -g clawhub) as per official ClawHub documentation.
1 parent 4617238 commit f609467

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414

15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '20'
19+
1520
- name: Install ClawHub CLI
16-
run: |
17-
curl -fsSL https://clawhub.com/install.sh | bash
18-
echo "$HOME/.clawhub/bin" >> $GITHUB_PATH
21+
run: npm install -g clawhub
1922

2023
- name: Publish skill
2124
env:
2225
CLAWHUB_TOKEN: ${{ secrets.CLAWHUB_TOKEN }}
23-
run: clawhub publish
26+
run: clawhub skill publish ./ --tags latest

0 commit comments

Comments
 (0)