Skip to content

Commit c2a8897

Browse files
committed
fix: Correct mcp-publisher installation in GitHub Actions
- Download tar.gz archive instead of raw binary - Extract before moving to /usr/local/bin
1 parent f7baee0 commit c2a8897

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858

5959
- name: Install mcp-publisher
6060
run: |
61-
curl -L https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher-linux-amd64 -o mcp-publisher
61+
curl -L https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz -o mcp-publisher.tar.gz
62+
tar -xzf mcp-publisher.tar.gz
6263
chmod +x mcp-publisher
6364
sudo mv mcp-publisher /usr/local/bin/
6465

0 commit comments

Comments
 (0)