Skip to content

Commit f99d1bc

Browse files
committed
Update workflow to download release rather than compile it
1 parent 602ce48 commit f99d1bc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build-and-register.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ jobs:
4444
4545
- name: Install MCP Publisher
4646
run: |
47-
git clone https://github.com/modelcontextprotocol/registry publisher-repo
48-
cd publisher-repo && make publisher && cd ..
49-
cp publisher-repo/cmd/publisher/bin/mcp-publisher mcp-publisher
47+
cd /tmp
48+
curl -Lo mcp-publisher.tar.gz https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_linux_amd64.tar.gz
49+
tar -xzf mcp-publisher.tar.gz
50+
chmod +x mcp-publisher
51+
mv mcp-publisher /usr/local/bin/mcp-publisher
5052
5153
- name: Publish to MCP Registry
5254
run: |
53-
./mcp-publisher login github-oidc
54-
./mcp-publisher publish
55+
mcp-publisher login github-oidc
56+
mcp-publisher publish

0 commit comments

Comments
 (0)