From d76ec5dd142655d2a2f829c8d8cdc8f6398b7b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Freitag?= Date: Thu, 14 Dec 2023 20:25:00 +0100 Subject: [PATCH] test --- .github/workflows/release.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9236b4eb..ab044cd2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,6 @@ name: Upload release to PyPI on: + pull_request: release: types: [published] @@ -34,22 +35,3 @@ jobs: name: dist path: dist/ if-no-files-found: error - - release: - name: Send distribution files to PyPI - needs: build - runs-on: ubuntu-latest - environment: - name: pypi-release - url: https://pypi.org/p/django-phonenumber-field - permissions: - id-token: write - steps: - - name: Download distributions - uses: actions/download-artifact@v3 - with: - name: dist - path: dist/ - - - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@release/v1