diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 0cf9ff272f..fa69212e77 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -23,7 +23,7 @@ jobs: with: name: "python-package-distributions" path: "dist/" - test: + test-pypi: environment: name: "test.pypi.org" url: "https://test.pypi.org/project/beignet" @@ -41,13 +41,14 @@ jobs: with: repository-url: "https://test.pypi.org/legacy/" skip-existing: true - publish: + pypi: environment: name: "pypi.org" url: "https://pypi.org/project/beignet" if: "startsWith(github.ref, 'refs/tags/')" needs: - "build" + - "test-pypi" permissions: id-token: "write" runs-on: "ubuntu-latest"