diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7e528a043fba7883a7ca9d0d51d27e8084de5b32..7f6fa649b7fb397656cf7c4b11c78600f722b261 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest environment: name: release - url: https://test.pypi.org/p/django-dump-die + url: https://pypi.org/p/django-dump-die needs: - release-build permissions: @@ -51,9 +51,32 @@ jobs: name: release-dists path: dist/ - - name: Publish release distributions to TestPyPI + - name: Publish release distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - repository-url: https://test.pypi.org/legacy/ - skip-existing: true - verbose: true + repository-url: https://pypi.org/legacy/ + + # test-pypi-publish: + # name: Upload release to Test PyPI + # runs-on: ubuntu-latest + # environment: + # name: release + # url: https://test.pypi.org/p/django-dump-die + # needs: + # - release-build + # permissions: + # id-token: write + + # steps: + # - name: Retrieve release distributions + # uses: actions/download-artifact@v4 + # with: + # name: release-dists + # path: dist/ + + # - name: Publish release distributions to TestPyPI + # uses: pypa/gh-action-pypi-publish@release/v1 + # with: + # repository-url: https://test.pypi.org/legacy/ + # skip-existing: true + # verbose: true