Skip to content

Commit ad130bd

Browse files
ci: publish workflow fix
1 parent 64c7761 commit ad130bd

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
environment:
1515
name: pypi
16-
url: https://test.pypi.org/project/supabase-mcp-server/ # TODO: Change to pypi.org after testing
16+
url: https://pypi.org/project/supabase-mcp-server/
1717
permissions:
1818
id-token: write # Required for trusted publishing
1919
contents: read
@@ -42,8 +42,8 @@ jobs:
4242
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
4343
run: |
4444
# Create a new venv for testing
45-
uv venv --name test-venv
46-
source test-venv/bin/activate
45+
uv venv
46+
source .venv/bin/activate
4747
4848
# Install the built wheel
4949
uv pip install dist/*.whl
@@ -56,22 +56,7 @@ jobs:
5656
fi
5757
echo "✅ supabase-mcp-server --help succeeded"
5858
59-
echo "Testing supabase-mcp-inspector entry point..."
60-
if ! uv run supabase-mcp-inspector --help; then
61-
echo "❌ supabase-mcp-inspector --help failed"
62-
exit 1
63-
fi
64-
echo "✅ supabase-mcp-inspector --help succeeded"
65-
66-
# Test actual connection if credentials are available
67-
echo "Testing actual connection with supabase-mcp-inspector..."
68-
if ! timeout 30s uv run supabase-mcp-inspector; then
69-
echo "❌ supabase-mcp-inspector connection test failed"
70-
exit 1
71-
fi
72-
echo "✅ supabase-mcp-inspector connection test succeeded"
73-
7459
- name: Publish to PyPI
7560
uses: pypa/gh-action-pypi-publish@release/v1
7661
with:
77-
repository-url: https://test.pypi.org/legacy/ # TODO: Change to pypi.org after testing
62+
repository-url: https://pypi.org/legacy/

0 commit comments

Comments
 (0)