remove wait for npm publish

This commit is contained in:
Mihai PLESA committed 2025-09-19 12:49:19 +01:00
1 parent e23ced38e5
commit c2b6ef039f
1 file changed
-13
-13
View File
@@ -84,19 +84,6 @@ jobs:
run: |
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
- name: Wait for NPM package propagation
run: |
VERSION="${{ steps.bump-version.outputs.version }}"
echo "Waiting for NPM package version $VERSION to be available..."
for i in {1..30}; do
if curl -s "https://registry.npmjs.org/@brave/brave-search-mcp-server" | jq -e ".versions[\"$VERSION\"]" > /dev/null; then
echo "Package version $VERSION is available on NPM registry"
break
fi
echo "Attempt $i/30: Package version $VERSION not yet available, waiting 10 seconds..."
sleep 10
done
- name: Login to MCP Registry
run: ./mcp-publisher login github-oidc