File tree Expand file tree Collapse file tree 2 files changed +12
-26
lines changed Expand file tree Collapse file tree 2 files changed +12
-26
lines changed Original file line number Diff line number Diff line change 88jobs :
99 check :
1010 runs-on : ubuntu-latest
11- permissions : {}
11+ permissions :
12+ id-token : write
1213 outputs :
1314 VERSION_EXISTS : ${{ steps.check-version.outputs.VERSION_EXISTS }}
1415 VERSION : ${{ steps.get-version.outputs.VERSION }}
@@ -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