FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
webcomponents-react/.github/workflows/publish-mcp-registry.yml at main · UI5/webcomponents-react · GitHub
UI5
/
webcomponents-react
Public
Notifications
You must be signed in to change notification settings
Fork
113
Star
540
Code
Issues
12
Pull requests
10
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
webcomponents-react
/
.github
/
workflows
/
publish-mcp-registry.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
41 lines (34 loc) · 1.14 KB
Breadcrumbs
webcomponents-react
/
.github
/
workflows
/
publish-mcp-registry.yml
Copy path
File metadata and controls
41 lines (34 loc) · 1.14 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name
:
Publish to MCP Registry
on
:
workflow_call
:
workflow_dispatch
:
inputs
:
dry_run
:
description
:
'
Run in dry-run mode (install and login only, no publishing)
'
required
:
false
type
:
boolean
permissions
:
id-token
:
write
contents
:
read
jobs
:
publish-mcp-registry
:
runs-on
:
ubuntu-latest
defaults
:
run
:
working-directory
:
packages/mcp-server
steps
:
-
name
:
Checkout
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
ref
:
main
-
name
:
Install mcp-publisher
run
:
|
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
-
name
:
Authenticate to MCP Registry
run
:
./mcp-publisher login github-oidc
-
name
:
Wait for npm registry propagation
if
:
${{ inputs.dry_run != true }}
run
:
sleep 120
-
name
:
Publish server to MCP Registry
if
:
${{ inputs.dry_run != true }}
run
:
./mcp-publisher publish
Back
|
FazBrowse Home
|
New Git URL