File tree Expand file tree Collapse file tree 2 files changed +11
-25
lines changed Expand file tree Collapse file tree 2 files changed +11
-25
lines changed Original file line number Diff line number Diff line change 7575 environment : Production
7676 permissions :
7777 contents : write
78+ id-token : write
7879 needs :
7980 - check
8081 if : needs.check.outputs.VERSION_EXISTS == 'false'
@@ -101,3 +102,13 @@ jobs:
101102 GH_TOKEN : ${{ github.token }}
102103 run : |
103104 gh release create ${{ needs.check.outputs.VERSION }} --title "${{ needs.check.outputs.VERSION }}" --generate-notes --target ${{ github.sha }} ${{ (needs.check.outputs.RELEASE_CHANNEL != 'latest' && '--prerelease') || ''}}
105+
106+ - name : Install MCP Publisher
107+ run : |
108+ curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
109+
110+ - name : Login to MCP Registry
111+ run : ./mcp-publisher login github-oidc
112+
113+ - name : Publish to MCP Registry
114+ run : ./mcp-publisher publish
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments