remove test pypi for now

This commit is contained in:
Josh Thomas 2024-12-23 20:31:39 -06:00
parent 00ac27c4b9
commit 293823e7ea

View file

@ -170,26 +170,7 @@ jobs:
uses: actions/attest-build-provenance@v1 uses: actions/attest-build-provenance@v1
with: with:
subject-path: "wheels-*/*" subject-path: "wheels-*/*"
- name: Publish to TestPyPI
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: PyO3/maturin-action@v1
with:
command: upload
args: --non-interactive --skip-existing --repository testpypi wheels-*/*
- uses: actions/setup-python@v5
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
python-version: 3.x
- name: Smoke test
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
# Wait for package to be available
sleep 60
# Install and verify
python -m pip install --index-url https://test.pypi.org/simple/ django-language-server
djls --version
- name: Publish to PyPI - name: Publish to PyPI
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: PyO3/maturin-action@v1 uses: PyO3/maturin-action@v1
with: with:
command: upload command: upload